New Forum | Previous | Next | (P-PDF) Developers
Topic: Geting the integer part of a float
Conf: (P-PDF) Developers, Msg: 53497
Date: 5/29/2002 04:59 PM
I was wondering if there was a way to split a
float number into two parts: the integer part
and the decimal part.
In particular, I'm trying to get a form to calculate
the exact age of a person depending on the birth date,
but it truncates the float number to the higher integer number if it reaches >.5 of its value.
So if someone is 25.6 years old, it says its 26!
(not good :P)
Thanks in advance!!