[#SettingTo-0d] = SettingTo :mrdocs: Convert a settings value to an integer, using a default when unset. == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::integral Int> Int SettingTo( xref:common/SettingsValue.adoc[common::SettingsValue] const& value, Int default_value); ---- == Return Value The integer value, or the provided default when unset. == Parameters [cols="1,4"] |=== | Name| Description | *value* | The settings value to convert. | *default_value* | Value returned when the setting is unset. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#