PDA

View Full Version : int() function



abdulaziz
08-05-2015, 08:44 AM
sir,
Using which function can i abstract the integer part of a calculation ? for example my calculation returns a result of 154.5802. Here i need the integer part (154) of the result. with which function i can fulfill the requirement. I am stuck with it .... and instant reply in this regard is highly appreciated.

Regards
Abdul azeez

Rawan-HS
08-05-2015, 10:28 AM
Dear abdulaziz ,


you can use the fix function to get the fix value from double
check this code




Public Sub main()
dim value
value = 154.5802
AlertMessage Fix(value) & ""
End Sub

Hassan-HS
10-14-2015, 01:09 PM
Hello,


Please let us know if you need more help :)