Page 1 of 1

how to approximate floating number into integer?

Posted: Mon Jul 11, 2011 9:05 am
by geetansh
i m struck n i need help urgently.
the problem is s1 is floating point number and it varies as 0.2,0.4,0.6......1.8,2.0,2.2 n so on
and ints1 is integer
in calculation i typed
ints1=s1
but its not working.
what i should do to approximate s1?
whats the method of converting floating point number into integer (rejecting the the value in decimal places).

Re: how to approximate floating number into integer?

Posted: Mon Jul 11, 2011 11:13 am
by Benj
Hello,

There is a function in the calculation icon that allows you to do this. The functions button in the calculation icon properties will show you all the available functions.