Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.Helper.Helpers Class Reference

Helper class containing auxiliary global methods, for example formatting values ​​to monetary value. More...

Static Public Member Functions

static string AbbreviateMoneyUSD (int value)
 Abbreviates a money value in USD format with appropriate suffixes (K for thousand, M for million, etc.).
 
static string MoneyUSDFormat (int value)
 Formats a money value in USD currency format.
 

Detailed Description

Helper class containing auxiliary global methods, for example formatting values ​​to monetary value.

Member Function Documentation

◆ AbbreviateMoneyUSD()

static string SimplePoker.Helper.Helpers.AbbreviateMoneyUSD ( int value)
static

Abbreviates a money value in USD format with appropriate suffixes (K for thousand, M for million, etc.).

Parameters
valueThe money value to be abbreviated.
Returns
The abbreviated money value with USD currency symbol.

◆ MoneyUSDFormat()

static string SimplePoker.Helper.Helpers.MoneyUSDFormat ( int value)
static

Formats a money value in USD currency format.

Parameters
valueThe money value to be formatted.
Returns
The formatted money value in USD currency format.

The documentation for this class was generated from the following file: