Help Center

CADOParameter.NumericScaleproperty

Indicates the scale of numeric values in a **Parameter** object.

DatabasespropertyCADOCommand.incdocumented

Syntax

PROPERTY NumericScale () AS BYTE
PROPERTY NumericScale (BYVAL bScale AS BYTE)

Parameters

NameDescription
bScaleThe number of decimal places to which numeric values will be resolved.

Return value

The number of decimal places.

Description

Indicates the scale of numeric values in a Parameter object.

Sets or returns a Byte value that indicates the number of decimal places to which numeric values will be resolved.

Remarks

Use the NumericScale property to determine how many digits to the right of the decimal point will be used to represent values for a numeric Parameter object.

For Parameter objects, the NumericScale property is read/write.

Reference

  • Include file CADOCommand.inc
  • Defined in AfxNova/CAdoParameters.inc:245
  • Documented in Databases/ADO Classes/CAdoCommand Class.md
  • Topic: CAdoCommand Class