0

Hi!

I am coding a quite simple php form where many of the input forms are going to be filled with numbers. Is there a simple way I could get the numbers separated by thousands? Like the form showing 100 000 instead of 100000?

Thanks in advance!

5
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by Ingska
0

Do you want your output to show the numbers that way, or do you want to change after a user inputs a value and leaves the editbox. In the last case, this would be more of a javascript issue.

0

I would prefer if it changed after the user inputs a value ald leaves the editbox, but really any way works.

0

Ok for you guys suggesting php, he stated:

>I would prefer if it changed after the user inputs a value ald leaves the editbox, but really any way works.

That suggests JS. I don't think he wants to submit the blasted form every time he changes the edit box contents.

0

Thanks, guys! The solution was js, and it works great :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.