Class TrailingZeroesMode
The enumeration defines how to output trailing insignificant zeroes (after decimal point) for numbers: don't output, output all zeroes or output only one first zero after decimal point.
Inheritance
object
TrailingZeroesMode
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public sealed class TrailingZeroesMode : Enum
Fields
No
With "No" option the trailing zeroes will not be output at all. For example: "10.", "10.73", "10.999".
Declaration
public const TrailingZeroesMode No = 0
Field Value
Type | Description |
---|---|
TrailingZeroesMode |
OneOnly
With "OneOnly" option only one first trailing zero will be output. For example: "10.0", "10.73", "10.999".
Declaration
public const TrailingZeroesMode OneOnly = 2
Field Value
Type | Description |
---|---|
TrailingZeroesMode |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
int |
Yes
With "Yes" option the all trailing zeroes will be output anyway. For example: "10.000", "10.730", "10.999".
Declaration
public const TrailingZeroesMode Yes = 1
Field Value
Type | Description |
---|---|
TrailingZeroesMode |