Homec4science

Added max_ndigits_after_dot parameter to tmpl_nice_number, in order to round a…

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Jan 11 2008, 14:00.

Description

Added max_ndigits_after_dot parameter to tmpl_nice_number, in order to round a float to a particular digit. It defaults to None which means no rounding.

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:6294d444c204: Added max_ndigits_after_dot parameter to tmpl_nice_number, in order to round a… (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Jan 11 2008, 14:00