Project:
UbercartCategory:
bug reportVersion:
Ubercart 1.0 RCPriority:
normalAssigned:
UnassignedStatus:
activeI think the decimal marker should be displayed even if the # of decimal places is 0. If you want to disable the decimal marker as well, then user should clear the text in the 'Decimal Marker' field.
The reason I want to do this is because in many fancy restaurants, they list their prices without cents, but still include a $ sign. For example, a menu might look like:
Lobster: $72.
Steak: $36.
Beer: $7.
I want the prices on my site to be displayed without cents, but still include a . after the price.
The setting I am referring to is in Administrator > Store Administration > Configuration > Store Settings > Format Settings > Currency Format.


Re: Apply decimal marker even if the # of decimal places is 0.
Our currency format function is really just a wrapper for PHP's number_format() function. If you know what you're doing, you can patch uc_currency_format() in uc_store.module to get the functionality you're looking for, but I doubt this will make it into core (at least for the 1.0 release).
re: Apply decimal marker even if the # of decimal places is 0.
I have seen this on restaurant menus, but never online, and I can't imagine many other users needing this option.