Timeline for VAT Calculator with Javascript
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Sep 18, 2017 at 11:54 | history | suggested | Florent Arlandis | CC BY-SA 3.0 |
used Math.round(countHT*100)/100 for a more accurate result
|
Sep 18, 2017 at 10:09 | review | Suggested edits | |||
S Sep 18, 2017 at 11:54 | |||||
S Sep 18, 2017 at 10:01 | history | suggested | Florent Arlandis | CC BY-SA 3.0 |
changed var & function names to English
|
Sep 18, 2017 at 9:32 | review | Suggested edits | |||
S Sep 18, 2017 at 10:01 | |||||
Sep 16, 2017 at 18:18 | comment | added | Przemek |
For Nom , Quantité and Prix equal 0,99 , and Taux de TVA equal 12% , result is 1,1088 and as such Total TTC should read 1,11 , while it reads 1,10 . When talking money and such, always operate on cents (more generally, smallest indivisible unit). Flaws like that has been used in the past to steal relatively large amounts.
|
|
Sep 15, 2017 at 18:18 | comment | added | I wrestled a bear once. | some (more) english comments at least would be nice | |
Sep 15, 2017 at 16:25 | answer | added | Cedric | timeline score: 3 | |
Sep 15, 2017 at 15:08 | comment | added | 200_success | Code with foreign language identifiers is perfectly acceptable on Code Review. Please do not translate code just for the sake of asking for a review. | |
Sep 15, 2017 at 15:06 | history | edited | 200_success |
edited tags
|
|
Sep 15, 2017 at 14:09 | comment | added | Gerardo Furtado | Indeed, I second what Roland said. English is not my native language, but even when I'm writing code just for fun, for me alone, I name all the variables and functions with English names. It's a good habit, that should become second nature and, of course, applied to your professional codes. That way, when a problem shows up (like now), you'll get help faster. | |
Sep 15, 2017 at 13:27 | comment | added | Roland Illig | Oh là là, too bad that most people here don't speak French and therefore cannot understand your variable names. | |
Sep 15, 2017 at 9:49 | review | First posts | |||
Sep 15, 2017 at 9:52 | |||||
Sep 15, 2017 at 9:47 | history | asked | Florent Arlandis | CC BY-SA 3.0 |