Block UI Styler > Block Catalog > Numbers
Double
The Double block provides a control to input a double (floating-point) number to the command. The block provides input validation error messages should the user enter a value outside the valid range specified by the Minimum and Maximum value block properties.
Structurally the Double block mirrors the Integer block almost exactly — same PresentationStyle options (KeyIn, Scale, ScaleKeyIn, Spin), same Min/Max/Inclusive pattern, same Increment/LineIncrement/PageIncrement/ScaleLimits/ScaleMaxLimitLabel/ScaleMinLimitLabel/ShowScaleValue/Value/ComboOptions properties — but with Double as the underlying Property Type instead of Integer.
Adaptive Limit on Scale
Same adaptive-scale-limit behavior as the Integer block (initial range computed from initial value × lower/upper scale factors). One documented caveat specific to Double: certain configurations should not use Adaptive Scale (the exact excluded configuration is noted in the source doc immediately before the property table but could not be captured verbatim due to extraction constraints).
Block-specific properties (differences from Integer)
| Property Name | Description | Access | Property Type | List of Values |
|---|---|---|---|---|
| BalloonTooltipText / BalloonTooltipImage / BalloonTooltipLayout | Same balloon tooltip properties as other blocks (text, image, and Horizontal/Vertical layout). | CIGS | String / String / Enum | See other block pages for full value lists. |
| Increment | Spin arrow/keyboard accelerator increment when PresentationStyle is Spin. |
CSG | Double | Any double value. |
| LineIncrement | Value to increment the scale on Left/Right Arrow keys. Available only when PresentationStyle is Scale or ScaleKeyIn. |
CSG | Double | Any double value less than MaximumValue. |
| LimitCheckTolerance (Double-specific) | Specifies the tolerance value used when checking the limits for MaximumValue/MinimumValue equality. |
CSG | Double | Any value >= 0.0 is used to determine if the value equals one of the MinimumValue/MaximumValue limits. Any value < 0.0 means the system default tolerance is used (default system tolerance is -1). |
| MaximumValue | Specifies the maximum allowed double value. Values greater than this are invalid; equal is valid if MaxInclusive is true. |
CSG | Double | Any double value. |
| MaxInclusive / MinimumValue / MinInclusive | Same pattern as Integer, but for double values. | SG / CSG / SG | Logical / Double / Logical | Same semantics as Integer's equivalents. |
| PageIncrement | Value to increment scale on Page Up/Page Dn. Available only when PresentationStyle is Scale or ScaleKeyIn. |
CSG | Double | Any double value less than MaximumValue. |
| PresentationStyle | Same four styles as Integer: KeyIn, Scale, ScaleKeyIn, Spin. |
CIG | Enum | Same as Integer. |
| ScaleLimits / ScaleMaxLimitLabel / ScaleMinLimitLabel / ShowScaleValue | Same as Integer's equivalents. | CIG/CIG/CIG/CSG | Logical/String/String/Logical | Same semantics as Integer. |
| Value | Specifies the double value. | CSG | Double | Any double value. |
| ComboOptions | Drop-down values if PresentationStyle supports a combo mode. |
CSG | (vector) | Array of double values (by analogy with Integer's IntegerVector). |
Access column legend
| Character | Stands for | Meaning |
|---|---|---|
| C | Creation | Modifiable interactively in Block UI Styler at design time. |
| I | Initialize | Modifiable at run time via NXOpen API, but only during the Initialize callback. |
| G | Get | Readable via NXOpen API in any callback. |
| S | Set | Modifiable at run time via NXOpen API in any callback. |
Related Numbers blocks
Integer, Expression, Linear Dimension, Angular Dimension, Radius Dimension, On Path Dimension, Integer Table, Double Table.
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/bs_double · retrieved 2026-07-07