Background for Skyrim SE
Member of the DbMiscFunctions script
stringfunctionRoundDownToDecString(floatf, intDecimalPlaces=0)Global

Description

Documentation Comment

Same as RoundDownToDec but returns string instead of float. In this case RoundDownToDecString(100.78945, 2) returns "100.78"


Caveats


Parameters

floatf

intDecimalPlaces=0


Examples

Auto-Generated Example

float myFloat__f
int myInt__DecimalPlaces

string returnedValue = DbMiscFunctions.RoundDownToDecString(myFloat__f, myInt__DecimalPlaces)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.