PrintFloat

From Dragon Age Toolset Wiki
Jump to: navigation, search

Prints a float to the log file.

void PrintFloat(
float fFloat,
int nWidth = 18,
int nDecimals = 9,
int bPrepend = FALSE
);
Parameters:
fFloat
The float value to print out to the log
nWidth
The size of the value before the decimal. Must be a value between 0 and 18 inclusive
nDecimals
The number of decimal places. Must be a value between 0 and 9 inclusive
bPrepend
Specifies if the type of value should be prepended on to the log string
Returns:

Nothing.

Source:

script.ldf

Description

Prints the float fFloat to the log file based on the nWidth and nDecimal specifications. If bPrepend is TRUE, then 'PRINTFLOAT' will be prepended onto the text outputted to the log file.


See also

PrintInteger, PrintString, PrintObject, PrintVector, PrintToLog