Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do i format the number (123456 then 1,23,456) using jquery or javascript.

C ShekharDec 29 2014 — edited Dec 29 2014

I am having the number like 123456

and i want to format the number like 1,23,456

how can i achieve this using javascript or jquery.

I am working of oracle apex classic report with text boxes.

text boxes contain the numeric values.

upon page load all numeric column should be in format

select

"EMPNO",

"ENAME",

"JOB",

"MGR",

"HIREDATE",

"SAL", ---NUMERIC --if number is 123456 then on page load it should be 1,23,456

"COMM",--NUMERIC --if number is 123456 then on page load it should be 1,23,456

"DEPTNO"

from emp;

I am trying to do the formating from report attribute->column attribute->Number / Date Format = 999G999G999G999G990 but its not working.

As i used many CSS method for these textboxes which overwriting the existing functionality (like number formating)

thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2015
Added on Dec 29 2014
5 comments
656 views