I need for computed total price to display with leading and trailing
zeros.
E.g.
  1 -> 1.00
2.5 -> 2.50
 .9 -> 0.90

The extended price is computed with this statement:
round(purchase.qty*inventory.price/100.0,2)

Ted
________________________________________________________________
3.14159265358979323846264338327950  Let the spirit of pi spread
2884197169399375105820974944592307  all around the world!
8164062862089986280348253421170679  http://pi314.at PI VOBISCUM!
================================================================
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to