Hi, can someone help me with my math, it's not giving me the right results.

I simply need to multiply two numbers and divide them by another number.

For example:
51 * 7500 = 382500 then divide by 1000 = 382.5

&TotalBenefit := (mul(&myAge,7500))
&MaxValue := (Div(&TotalBenefit,1000))

I'm losing decimal point too!
this is not helping me strtocur - floattostr


&MaxValue := (floattostr(Div(&TotalBenefit,1000))) ???
THANKS


Edited by Sami786 (05/09/19 02:11 PM)
_________________________
Peace