Re: Extracting integers and fractions
I found a way to do it by using Variable > Format Number and then using some substraction.
Announcement
Collapse
No announcement yet.
Extracting integers and fractions
Collapse
X
-
Extracting integers and fractions
I am trying to do some basic calculations and need a way of extracting the integer part and also the first three digits after the decimal point. For example, if a divide 8 by 1.3, I get 6.153846154, I want to assign the integer (6) to a variable. I also want to assign the first three digits after the decimal point (153) to another variable.Tags: None
Leave a comment: