문제

when you are doing decimals does the 0 go in the front or back

올바른 솔루션이 없습니다

다른 팁

I'll assume you're using C#, since that's the dominant language on this site.

Decimals aren't notated with a 0, rather they have the M suffix, eg:

decimal a = 123M;
decimal b = 123.456M;
float c = 123.456M; // compile error
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top