TechTalk Genome v4.2

NullableDecimal.Round Method 

Rounds a NullableDecimal value to a specified number of decimal places.

public static NullableDecimal Round(
   NullableDecimal x,
   int decimals
);

Parameters

x
A NullableDecimal structure.
decimals
A value from 0 to 28 that specifies the number of decimal places to round to.

Return Value

Null if x is Null otherwise a number equivalent to rounded to number of decimal places.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeException is not a value from 0 to 28.

Requirements

Namespace: TechTalk.Genome.NullableTypes

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

NullableDecimal Class | TechTalk.Genome.NullableTypes Namespace