Harbour Reference Guide

 

FIELDDECI()

Determines the number of decimal places of a given numeric field.

Syntax

FIELDDECI(<nFieldNum>) --> nFieldDeci

Arguments

<nFieldNum> Numeric data field , for which number of decimal places need to be determined.

Returns

FIELDDECI() returns the numeric value that designates the number of decimal places of a given field.

Description

This function determines the number of decimal places of a given numeric field.
Examples
      FUNCTION Main()
      LOCAL i
      USE Tests NEW
      FOR i = 1 TO FCOUNT()
        ? FieldDeci( i )
      NEXT
      USE
      RETURN NIL
Status

Ready

Compliance

This function is CA-CLIPPER tools compatible

Files

Library is libmisc

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30