Board index » delphi » Udf error : Floating-Point invalid operand
jb
![]() Delphi Developer |
Sat, 10 Jan 2004 22:14:20 GMT
Udf error : Floating-Point invalid operand
Interbase(5.5), delphi 4
hello, I had writen a UDF to round a numeric(15,2) interbase field to X decimals /* Function ARRONDIDEV */ this function work fine in many case ...but sometimes it's tell me look at my source code: function ArrondiDevise(var Value: Double; var Decimales: Integer): Double; // sparation des parties entire et dcimale // arrondi de la partie dcimale I think it's because i have too big values in my database (ex: if it's the case, do you know the way to prevent this errors in a UDF ? Thanks for any help. Julien |