Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Currency to add sum of 2 numbers
#6
Question from me on this:

How do you get the format fields to work?

Syntax
%[flags][width][.precision][h|l|I64|L]type

I've been wanting to show the decimal places on currency...I know how to get the right values, but how do you get "$14.00" to show up! I can only get $14

I just don't know where or how to call the flags and formatting options. Can we get an example?

Thanks.
Jimmy Vig


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)