sounds and screens with improved matchmaker
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
public static class CoinHelper
|
||||
{
|
||||
public static float Format(int coins)
|
||||
{
|
||||
int whole = coins / 4;
|
||||
int fraction = coins % 4;
|
||||
return float.Parse(whole + "." + fraction);
|
||||
}
|
||||
|
||||
public static string FormatString(int coins)
|
||||
{
|
||||
return Format(coins).ToString("N2");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user