Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
covidcovidcovid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
covidcovidcovid
6y ago
10 years ago I was able to get good result from ads, but now it is an absolute waste of money and it's not worth it anymore.
2.
▲
by
covidcovidcovid
6y ago
What is clunky about decimal type? You declare a decimal variable and then use it exactly like any other numeric type. Here is an example: https://dotnetfiddle.net/jjJHA6
3.
▲
by
covidcovidcovid
6y ago
Not if you use decimal type that is not available in JavaScript.
4.
▲
by
covidcovidcovid
6y ago
If you write in C# decimal a = 0.1m; decimal b = 0.2m; var result = a + b; then you will get exactly 0.3, because decimal is a special high-precision numeric type that doesn't have such issues.