Is there a simple way to get rid of the 2 digits after the dot/comma which represent the cents?

My site deals with real estate... people don't price their house at $350,000.25 :)

Thanks!

Comments

wim leers’s picture

Title: Getting rid of the cents? » Configurable number of decimals
Assigned: Unassigned » wim leers

This is indeed something that must be configurable. While I'm at it, I'll make the number of decimals configurable.

asak’s picture

Any update on this issue?

wim leers’s picture

No, sorry, haven't had any time for this module.

wim leers’s picture

Title: Configurable number of decimals » Configurable number of displayed decimals
Status: Active » Fixed

Implemented!

asak’s picture

And works like a charm!

asak’s picture

Version: 5.x-1.x-dev » 5.x-1.5
Component: User interface » Code
Category: feature » bug

After updating to 1.5 i still get the option to choose number of decimals - but after selecting 0 and saving the field it resets itself to 2 again. seems not to 'catch' my choice.

wim leers’s picture

Status: Fixed » Active

Reproduced. 1 does work though. So this is a type casting issue. I'll make the checks more strict.

wim leers’s picture

Status: Active » Fixed
markus_petrux’s picture

Status: Fixed » Closed (fixed)