gui.getNumberBoxPrecision

Determines how many decimal places are allowed in a number box.

Prototype

  1. nFocusedPrecision, nUnFocusedPrecision = gui.getNumberBoxPrecision ( hComponent )

Description

Focused Precision: User can enter a number potentially greater/smaller than required
Unfocused Precision: The precision the number will be truncated/expanded to


Parameters

hComponent - valid GUI component handle


Return values

nFocusedPrecision - number 0..n
nUnFocusedPrecision - number 0..n


Available since ShiVa 2.0