Ninja Library - Debugging Function

njPrintF

Displays debug character as floating point

FORMAT

void njPrintD( loc, val, digit )
Int loc
Int val
Int digit

PARAMETER

 loc   Display position 
 val   Value 
 digit  Number of output digits 

RETURN

None

DESCRIPTION

Displays the specified value on screen as a floating point decimal number.

EXAMPLE

The following outputs the value 3.14 with 10 digits over decimal point at location 10,10.
njPrintF(NJM_LOCATION(10,10),3.14,10);

NOTE

The display position is specified by NJM_LOCATION(x,y). The x,y value gives the line and column for the character string. If the value is greater than the number of output digits, the value following the number of output digits is output.

REFERENCE

njPrintColor()
njPrintB()
njPrintC()
njPrintD()
njPrintH()

njPrintF
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999