progress division

sanjaynayaka

New Member
hi

i am dividing the 2 expression which gives me 2.5 when assigned to a variable i am getting the value has 2. the value is automatically truncated to 2. but i want 2.5 to make 3.
how can i achevie it in speedscript.

ex : a/b i.e 5/2 = 2.5 i want to get result has 3.0. how to round of 2.5 to 3.0.

please provide suggestion.

Thanks and Regards
Sanjay
 
Back
Top