System::Globalization::NumberFormatInfo::get_PercentNegativePattern 方法

NumberFormatInfo::get_PercentNegativePattern method

获取百分比负数格式。

int System::Globalization::NumberFormatInfo::get_PercentNegativePattern() const

ReturnValue

数组中模式的索引为 {"-n %", "-n%", "-%n", "%-n", "%n-", "n-%", "n%-", "-% n", "n %-", "% n-", "% -n", "n- %"},其中 "n" 代表数字,"%" 代表百分号,"-" 代表负号。

另见