Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
currency value dropping 0
rbuser
February 2004
edited February 2004
in
General
i have declared a varible
JobTotal : Currency
JobTotal := Jobtotal + RoomTotal;
(both roomtotal values are 12.25)
later on i do this
lblJobTotal.Caption := CurrToStr(JobTotal);
the printed result is 24.5 instead of 24.50
how do i fix this?
TIA
Comments
rbuser
February 2004
edited February 2004
Format you string dude.
rbuser
February 2004
edited February 2004
Use Format(...) with the appropriate settings (check Help for info)
This discussion has been closed.
Comments