dt_round_to_precision (private)

 dt_round_to_precision number precision

Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl

Rounds the given number to the given precision, i.e. calendar_round_to_precision 44 5 will round to the nearest 5 and return 45, while calendar_round_to_precision 32.678 .1 will round to 32.7.

Parameters:
number (required)
precision (required)

Partial Call Graph (max 5 caller/called nodes):
%3 dt_widget_datetime dt_widget_datetime (public, deprecated) dt_round_to_precision dt_round_to_precision dt_widget_datetime->dt_round_to_precision

Testcases:
No testcase defined.
[ show source ]
Show another procedure: