Topic: Format function
Hi I like to have only 2 digits after the comma (,). Example the number 2,36578 should be 2.36 . I use the round founction but I don't get the result I want . How can I use the format function or any other function ?
My Visual Database → General → Format function
Hi I like to have only 2 digits after the comma (,). Example the number 2,36578 should be 2.36 . I use the round founction but I don't get the result I want . How can I use the format function or any other function ?
Hello.
var
Number: double;
begin
Number := 2,36578;
ShowMessage( FormatFloat('#,#0', Number) );
Thank you
My Visual Database → General → Format function
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi