≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Javascript bugs - be warned
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: I was accumulating info the last few months on how to encourage users to code in javascript but over time I realize javascript is really a pain in the arse and I honestly cant recommend it. It fails to recognize numbers when using numbers at times, and not a string, using "+" to add numbers together sometimes wont add them but joins them together instead thinking its a text not a number...and now I find javascript cant even calculate decimals properly...WTF....yes, its all true.. Javascript cannot calculate friggin simple decimal calculations without stuffing up. It adds a rounding number in even when incorrect to do so. The result is either a very long decimal or NAN (not a number) returned when you want to only have 1 decimal place using ".toFixed(1)". Don't believe me - read this: http://adripofjavascript.com/blog/drips/avoiding-problems-with-decimal-math-in-javascript.html[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact