Two part question so may need to be in the database thread as well.
I have a total cost, let's say it's 100, I have a number of items, let's say it's 3. From this I know each item is 33.33r. It's not traditional currency as it's reflective of millions.
How can I star 33.33 into a database? what datatype should I have.
Also, this is where the PHP coding comes in, how can I also have that same field have full numbers say it's 100 split by 4 so entering 25 as a whole.