This has really baffled me. Try this:
====================================
Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
Dim doc As New NotesDocument(db)
Dim tmpNumber As Single
tmpNumber = 0.13
doc.fldNumber = tmpNumber
Call doc.Save(True, True)
====================================
Locate the newly-created document in Notes client and use the properties box to look at the list of fields.
The value being saved for the field ‘fldNumber’ is 0.129999995231628
Does anyone else get this?
When you’re writing an agent that’s doing cost calculations for a client, it’s a bit scary when numbers start changing themselves.
Can anyone tell me what’s happening?
Thanks!