Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6773529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:40:44+00:00 2026-05-26T15:40:44+00:00

The is a problem in my function(ar), that makes this with int: 912165161 912

  • 0

The is a problem in my function(ar), that makes this with int:

912165161

912 165 161 Ft

It works well everywhere except in IE. Why can it be?

function ft(ar)
{
    ar = ar.toString();
    var len = ar.length; //1234    
    var ret = "";
    var j = -1;
    for(var i = len-1;i>=0;i--)
    {
        j++;
        ret = ar[i]+ret;    
        if(j == 2 || j==5 ||j==8)ret = " "+ret;    
    }
    return ret+" Ft";
}
var code ="{\"osszesen\":1208,\"egy_kep_ara\":53,\"kedvezmeny\":null,\"eredeti-ar\":1208}";
array = $.parseJSON(code);
int = array["osszesen"];
alert(int);
alert(ft(int));

http://jsfiddle.net/9WLGF/13/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:40:45+00:00Added an answer on May 26, 2026 at 3:40 pm

    I had to replace ar[i] to ar.charAt(i) because the first was not standard

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with Lucene's scoring function that I can't figure out. So
The problem is this: I want a generic function that has an out-parameter of
I have an interesting problem, which is a function that returns a Dictionary<String,HashSet<String>> .
I have problem with fancybox. I want to write a function that will run
I have a nested function to show/hide paragraphs news-ticker-style. The problem is that when
PHP provides a mechanism to register a shutdown function: register_shutdown_function('shutdown_func'); The problem is that
I'm working on a upload script and using move_uploaded_file() function. The problem is, that
I have a problem with a javascript set of functions that I made. This
I'm trying to make a general framework function that makes any Drawable become highlighted
I'm having a problem where PDO encapsulates int values using quotes and subsequently makes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.