Hi,
I did some testing and found that the function round gives me the result I want.
Different than the definition says (that it rounds), it is only truncating... exactly what I need.
For example, both 3.1 and 3.9, results in pure 3.0
Thanks,
Ademir
Search found 2 matches
- 28 Oct 2015 01:19
- Forum: Feature Requests
- Topic: Script functions trunc and frac
- Replies: 3
- Views: 9496
- 26 Oct 2015 14:46
- Forum: Feature Requests
- Topic: Script functions trunc and frac
- Replies: 3
- Views: 9496
Script functions trunc and frac
Martin, Beautiful your work. Thanks a lot for your app. Performing some calculations on a script I missed two simple functions: - Int trunc (value): Returns only the integer part with his sign of a number - Float frac (value): Returns only the fractional part of a number Sorry if there is already so...