Click here to Skip to main content
15,906,708 members
Home / Discussions / Java
   

Java

 
AnswerRe: Java + MS SQL Sever Pin
Richard MacCutchan27-Feb-11 1:48
mveRichard MacCutchan27-Feb-11 1:48 
AnswerRe: Java + MS SQL Sever Pin
RaviRanjanKr27-Feb-11 5:20
professionalRaviRanjanKr27-Feb-11 5:20 
GeneralRe: Java + MS SQL Sever Pin
777goga7776-Mar-11 6:16
777goga7776-Mar-11 6:16 
AnswerRe: Java + MS SQL Sever Pin
kellyyy6-Mar-11 4:53
kellyyy6-Mar-11 4:53 
GeneralRe: Java + MS SQL Sever Pin
777goga7776-Mar-11 6:08
777goga7776-Mar-11 6:08 
QuestionRecursive Permutation Generator. Pin
shivamkalra25-Feb-11 13:37
shivamkalra25-Feb-11 13:37 
AnswerRe: Recursive Permutation Generator. Pin
Richard MacCutchan25-Feb-11 23:04
mveRichard MacCutchan25-Feb-11 23:04 
QuestionPlease modify the java script for number in indian number format Pin
vinu.111124-Feb-11 22:49
vinu.111124-Feb-11 22:49 
hi..
check the following code..

<script type="text/javascript">
var indMoney = function (v)
{
v = (Math.round((v - 0) * 100)) / 100;
v = (v == Math.floor(v)) ? v + ".00" : ((v * 10 == Math.floor(v * 10)) ? v + "0" : v);
v = String(v);
var ps = v.split('.'),
whole = ps[0],
sub = ps[1] ? '.' + ps[1] : '.00',
r = /(\d+)(\d{3})/;
while (r.test(whole))
{
whole = whole.replace(r, '$1' + ',' + '$2');
}
v = whole + sub;

return v;
}
</script>

The result of the above function is displaying like this 123,123,123.00
but i want in this format 12,31,23,123.00 i.e indian currency format..
AnswerRe: Please modify the java script for number in indian number format Pin
Richard MacCutchan24-Feb-11 23:10
mveRichard MacCutchan24-Feb-11 23:10 
GeneralRe: Please modify the java script for number in indian number format Pin
Pravin Patil, Mumbai24-Feb-11 23:58
Pravin Patil, Mumbai24-Feb-11 23:58 
AnswerRe: Please modify the java script for number in indian number format Pin
Pravin Patil, Mumbai24-Feb-11 23:54
Pravin Patil, Mumbai24-Feb-11 23:54 
AnswerRe: Please modify the java script for number in indian number format Pin
TorstenH.25-Feb-11 1:23
TorstenH.25-Feb-11 1:23 
GeneralRe: Please modify the java script for number in indian number format Pin
Richard MacCutchan25-Feb-11 2:22
mveRichard MacCutchan25-Feb-11 2:22 
AnswerRe: Please modify the java script for number in indian number format Pin
RaviRanjanKr27-Feb-11 18:04
professionalRaviRanjanKr27-Feb-11 18:04 
Questionhelp me Pin
Mohammed Kherfan24-Feb-11 13:01
Mohammed Kherfan24-Feb-11 13:01 
AnswerRe: help me Pin
Alok Sharma ji24-Feb-11 20:27
Alok Sharma ji24-Feb-11 20:27 
AnswerRe: help me Pin
Richard MacCutchan24-Feb-11 23:10
mveRichard MacCutchan24-Feb-11 23:10 
AnswerRe: help me Pin
RaviRanjanKr25-Feb-11 19:37
professionalRaviRanjanKr25-Feb-11 19:37 
QuestionBlock desktop until app running? Pin
Alok Sharma ji22-Feb-11 1:37
Alok Sharma ji22-Feb-11 1:37 
AnswerRe: Block desktop until app running? Pin
Nagy Vilmos22-Feb-11 1:45
professionalNagy Vilmos22-Feb-11 1:45 
AnswerRe: Block desktop until app running? Pin
TorstenH.23-Feb-11 20:07
TorstenH.23-Feb-11 20:07 
AnswerRe: Block desktop until app running? Pin
jschell24-Feb-11 11:59
jschell24-Feb-11 11:59 
GeneralRe: Block desktop until app running? Pin
Alok Sharma ji24-Feb-11 20:32
Alok Sharma ji24-Feb-11 20:32 
QuestionRecursion:Delete from a linkedList Pin
Brian Robertson21-Feb-11 22:08
Brian Robertson21-Feb-11 22:08 
AnswerRe: Recursion:Delete from a linkedList Pin
Nagy Vilmos22-Feb-11 1:44
professionalNagy Vilmos22-Feb-11 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.