membuat scala Visual Studio 100%

Select Tools > Command Line > Developer Command Promp

devenv /noScale

untuk membuat scala view 100%


membuat random di MsSQL - OTP

 SELECT CAST(RAND()*100000 AS INT) as otpRANDOM;


String to Double in ASP.Net Core

string aa="3.4"

double dd= Double.Parse(aa)


show decimal or double in asp.net core

double aakhir=0; 

aakhir = Convert.ToDouble(dataReader["akhir"]);

inventory.akhir = aakhir.ToString("#,##0.00");


Replace String di ASP.Net Core

string xx="90,10";

xx=  xx.Replace(',', '.');

maka nilai variabel xx = "90.10"

Postingan Lama