# Convert Boolean To String
Grammar — String(value)
Flags —Function
Converts a boolean value to a string value.
# Arguments
bool
— Value
Returns — string
string libNtve_gf_ConvertBooleanToString(bool lp_value);
# Related
Category: Conversion / Basic Conversions
- Convert String To Text —
text
— StringToText - Convert Game Link To String
- Convert String To Game Link
- Convert String To Catalog Entry
- Convert String To Catalog Reference
- Convert String To Catalog Field Name
- Convert String To Catalog Field Path
- Convert String To Catalog Scope
- Convert Catalog Entry To String
- Convert Catalog Reference To String
- Convert Catalog Reference (Any -> Numeric)
- Convert Catalog Reference (Any -> Upgrade)
- Convert Catalog Reference (Upgrade -> Any)
- Convert Catalog Reference (Numeric -> Any)
- Convert Catalog Field Name To String
- Convert Catalog Field Path To String
- Convert Catalog Scope To String
- Convert String To Image File
- Convert String To Movie File
- Convert String To Cutscene File
- Convert Conversation State Index To String
- Convert String To Conversation State Index
- Convert User Data Instance To String
- Convert String To User Data Instance
- Convert String To Real —
fixed
— StringToFixed - Convert String To Integer —
int
— StringToInt - Convert String To Ability Command —
abilcmd
— StringToAbilCmd - Convert Real To Text —
text
— FixedToText - Convert Real To Text (Advanced) —
text
— FixedToTextAdvanced - Convert Real To String —
string
— FixedToString - Convert Real To Integer —
int
— FixedToInt - Convert Integer To Text —
text
— IntToText - Convert Integer To String —
string
— IntToString - Convert Integer To Real —
fixed
— IntToFixed - Convert Boolean To Text —
text
— libNtve_gf_ConvertBooleanToText - Convert Boolean To Integer —
int
— BoolToInt - Convert Boolean To String —
string
— libNtve_gf_ConvertBooleanToString - Convert String To Boolean —
bool
— libNtve_gf_ConvertStringToBoolean - Convert Point To String —
string
— libNtve_gf_ConvertPointToString - Convert String To Point —
point
— libNtve_gf_ConvertStringToPoint - Convert Image To String
- Convert Game User To Integer
- Format Number —
text
— FormatNumber - Format Duration —
text
— FormatDuration
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:593
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg3("AnimSetTime", lp_animName, FixedToString(lp_time, c_fixedPrecisionAny), libNtve_gf_ConvertBooleanToString(lp_scaled));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:476
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg3("AnimSetTime", lp_animName, FixedToString(lp_time, c_fixedPrecisionAny), libNtve_gf_ConvertBooleanToString(lp_scaled));
}