Decimal places

bee55

Registered User.
Local time
Today, 12:13
Joined
Oct 27, 2011
Messages
50
HI every body

i would like to gather the first number of decimal places
for example if i ha ve these numbers x = 2.356 & y = 2.6243
i want to be: x = 3 & y = 6
which function may i use
 
Try;
Code:
[URL="http://www.techonthenet.com/access/functions/numeric/int.php"]Int[/URL]((YourNumber - Int(YourNumber))*10)
 

Users who are viewing this thread

Back
Top Bottom