Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Function Int
Hi all,
I'm surprise by this result on excel( 2000, 2002, XP ) (win200, XP) sub test() Dim x as Long x = Int(37.7266 * 10000) ' x = 377265 ' I hope x = 377266 ' but for : x = int(37.7263 * 10000) ' I have x = 377263 end sub In fact 37.7263 give expected result, 37.7264, no, 37.7265, ok and so on... Does somebody have an explanation ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Excel - User Defined Function Error: This function takes no argume | Excel Programming | |||
Need to open the Function Arguments window from VBA for a user defined function. | Excel Programming | |||
User-Defined Function pre-empting Built-in Function? How to undo???? | Excel Programming |