@model LotteryWebApp.Models.HomeIndex_ViewModel
@{
ViewData["Title"] = "Millions - More";
ViewData["ActiveTab"] = "More";
Layout = "~/Areas/Millions/Views/Shared/_Layout.cshtml";
}
@using LotteryWebApp.Languages;
@functions {
public string FormatMoney(string amount) {
if (string.IsNullOrEmpty(amount)) return "0";
var clean = new string(amount.Where(c => char.IsDigit(c)).ToArray());
if (long.TryParse(clean, out long val)) {
return val.ToString("#,##0", new System.Globalization.CultureInfo("vi-VN")).Replace(",", ".");
}
return amount;
}
}
@(Model?.profile?.fullName ?? "User")
@(Model?.profile?.users ?? "0000000000")
@FormatMoney(Model?.userStatus?.bet_coin)
@Lang.millions_htg
@{
var currentLang = System.Threading.Thread.CurrentThread.CurrentCulture.Name;
}
English
Natcom