Difference between revisions of "PrintFloat"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
BryanDerksen (Talk | contribs) m (remove tag) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=PrintFloat | |name=PrintFloat |
Latest revision as of 21:55, 11 February 2010
Prints a float to the log file.
- 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