ik wrote: > > So if I need for example to compare currency or something that is > floating point, how do I do that ?
I think the Currency type is ok (special case with special handling), but other floating types are not. Alternatively, work with Integer types only, and then when you need to display currency or float with decimal values, do a (x div 100) etc. depending on the size of decimal you want. All our currency and float values are actually stored as integer inside databases too. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal