S Samuel Shulman Jul 27, 2006 #1 Is there method to verify that a value is integer and not double Thank you, Samuel
M Marina Levit [MVP] Jul 27, 2006 #2 You can take its ceiling or floor, and compare it to the original value. If they are the same, then it is an integer.
You can take its ceiling or floor, and compare it to the original value. If they are the same, then it is an integer.
S Samuel Shulman Jul 27, 2006 #3 Thanks Marina Levit said: You can take its ceiling or floor, and compare it to the original value. If they are the same, then it is an integer. Click to expand...
Thanks Marina Levit said: You can take its ceiling or floor, and compare it to the original value. If they are the same, then it is an integer. Click to expand...
T tommaso.gastaldi Jul 27, 2006 #4 Let's see if anyone guesses what is the ceiling of 10.000000000000001D -tom Samuel Shulman ha scritto:
Let's see if anyone guesses what is the ceiling of 10.000000000000001D -tom Samuel Shulman ha scritto:
S Samuel Shulman Jul 27, 2006 #5 11 Let's see if anyone guesses what is the ceiling of 10.000000000000001D -tom Samuel Shulman ha scritto: Click to expand...
11 Let's see if anyone guesses what is the ceiling of 10.000000000000001D -tom Samuel Shulman ha scritto: Click to expand...
T tommaso.gastaldi Jul 27, 2006 #6 try MsgBox(Math.Ceiling(10.000000000000001D)) with both VB2003 and then with VB 2005. You will see at MS have changed opinion about the result -tom Samuel Shulman ha scritto:
try MsgBox(Math.Ceiling(10.000000000000001D)) with both VB2003 and then with VB 2005. You will see at MS have changed opinion about the result -tom Samuel Shulman ha scritto:
S Samuel Shulman Jul 27, 2006 #7 Any explanation? try MsgBox(Math.Ceiling(10.000000000000001D)) with both VB2003 and then with VB 2005. You will see at MS have changed opinion about the result -tom Samuel Shulman ha scritto: Click to expand...
Any explanation? try MsgBox(Math.Ceiling(10.000000000000001D)) with both VB2003 and then with VB 2005. You will see at MS have changed opinion about the result -tom Samuel Shulman ha scritto: Click to expand...