Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
と仮定するとsngX = 67521.345、コード行が次の場合に表示されるもの:
sngX = 67521.345
Label1.Text = FormatCurrency(sngX)
実行されます。
$システムの地域設定の通貨記号が、先頭の数字が false、数字のグループ化が false であると仮定すると、 FormatCurrency(67521.345)=$67,521.35
$
FormatCurrency(67521.345)
$67,521.35
地域の設定を指定しておらず、他のFormatCurrencyパラメーターに特定の値を使用することを伝えていないため、結果は異なる場合があります。
FormatCurrency