Jump to content

Recommended Posts

Good Day

 

Delphi 10.4

When i convert to a Float to Str i'm having comma, dot problem like below

ItemNo := Table1ITEMNO.asString;

Qty := Table1QTY.asString; (Original Value is Float)

SQLText := 'SELECT * FROM MyProcedure (ItemNo, Qty)';

I copy sql to clipboard & clipboardt shows Qty value as  11,25 (According to my Windows setting)

but Firebird Database requires Qty value as 11.25  ( with a dot, not a comma )

How can i convert  11,25 to  11.20 ?


Thank You

 

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×