Posts: 11
Threads: 2
Joined: May 2011
Reputation:
0
hi,
Excuse me, this is probably a stupid question, but I would like to make decimal pricing in the offers, but in what format should I put: 1.5 or 1.5?
Thank you in advance for answering this stupid question.
Théotix
Posts: 141
Threads: 11
Joined: Dec 2010
Reputation:
3
01-31-2013, 06:30 PM
(This post was last modified: 02-02-2013, 05:22 PM by EddiesLife247.)
--- Edit --- See my responce below. this is currently not possible.
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB:
http://eddieslife247.co.uk/
Supporting TheHostingTool Community!
Need help, i don't mind pms but please post support questions in the general support board.
Posts: 11
Threads: 2
Joined: May 2011
Reputation:
0
And Can I make price under 1€/$ ? for exemple 0.50 is possible ?
Posts: 2,063
Threads: 90
Joined: Nov 2008
Reputation:
14
02-02-2013, 07:06 PM
(This post was last modified: 02-02-2013, 07:06 PM by Kevin.)
Decimal prices can now be entered into the database (as of v1.2.5) but I'm not sure if that'll actually change anything.
Posts: 2,063
Threads: 90
Joined: Nov 2008
Reputation:
14
As of r316 invoice amounts are now treated as floating-point numbers.
Posts: 2,063
Threads: 90
Joined: Nov 2008
Reputation:
14
02-03-2013, 06:23 PM
(This post was last modified: 02-03-2013, 06:25 PM by Kevin.)
No, the input field is set to accept decimals. Browsers that don't understand the "number" field should interpret it as a text field.
<input name="monthly" type="number" step="any" id="monthly" size="5" onkeypress="return onlyNumbers();">
When exactly is the decimal not working? When you hit the period key? When you submit the form? When you submit the form (and it appears to work) and then it ended up not saving?
I can confirm it works just fine on Chrome 26.0.1397.2 and Firefox 18.0.1. Firefox doesn't understand the number field, so it makes it a normal textbox.