News for hackers. Stuff that matters.

covidcovidcovid

Re:Ask HN: Keybase Alternatives? on Thursday May 07, 2020 @02:02PM (#23106017)
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.
Re:Vercel, formerly Zeit, raises $21M Series A on Tuesday April 21, 2020 @01:15PM (#22936971)
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
Re:Vercel, formerly Zeit, raises $21M Series A on Tuesday April 21, 2020 @09:53AM (#22934978)
Not if you use decimal type that is not available in JavaScript.
Re:Vercel, formerly Zeit, raises $21M Series A on Tuesday April 21, 2020 @09:52AM (#22934973)
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.