Sign

This method determines the sign of an OracleDecimal structure.

Declaration

// C#
public static int Sign(OracleDecimal val);

Parameters

  • val

    An OracleDecimal structure.

Return Value

  • -1: if the supplied OracleDecimal < 0

  • 0: if the supplied OracleDecimal == 0

  • 1: if the supplied OracleDecimal > 0

Exceptions