≡
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: "?nternational"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: Shouldn't have to work around Javascript issues but you do. If you need to use decimals in your game and have it work as intended then one of the best solutions is to multiply the decimal by a factor of 10 or 100 to get to an integer using 'Math.round' then revert back again to decimal whole number: Math.round(value*100)/100; // 10 defines 1 decimals, 100 for 2, 1000 for 3[/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