Topic: Number to Words
Is there any way to convert number to words?
If with cents it will be perfect... I have tried several scripts available online but they do not seem to work...
Thanks indeed...
Example:
10.23 >> Ten (Currency) and 23 cents...
My Visual Database → Script → Number to Words
Is there any way to convert number to words?
If with cents it will be perfect... I have tried several scripts available online but they do not seem to work...
Thanks indeed...
Example:
10.23 >> Ten (Currency) and 23 cents...
Hi,
Does the attached help?
Regards,
Derek.
You guys are THE BEST!
Thanks indeed.
Hello boulenajm, Derek
The same answer, but with a little contol about validity of text entered in Edit1 :
procdure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
if ValidFloat(Form1.Edit1.Text) then
Form1.Edit2.Text:=ToWords(Form1.Edit1.Value);
end;
Regards
JB
My Visual Database → Script → Number to Words
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi