Table of Contents

Method Decimal

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll

Decimal(int, int)

Creates a decimal logical type.

public static DecimalLogicalType Decimal(int precision, int scale = 0)

Parameters

precision int

The maximum number of digits; must be greater than zero.

scale int

The number of digits after the decimal point; between zero and precision.

Returns

DecimalLogicalType