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 958837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:55:43+00:00 2026-05-16T00:55:43+00:00

I have a large text string number (20 characters, no decimals) that needs to

  • 0

I have a large text string number (20 characters, no decimals) that needs to be converted to a number. I tried Convert.ToInt64 but the value is too large. What is the best conversion method for a number this large? And, what is the actual max value for Convert.ToInt64()?

Thanks

  • 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-16T00:55:43+00:00Added an answer on May 16, 2026 at 12:55 am

    Int64 supports numbers from -9,223,372,036,854,775,808 through 9,223,372,036,854,775,807.

    You can go larger using UInt64 (to 18,446,744,073,709,551,615).

    If you need bigger than that, the best option is to use BigInteger, with BigInteger.TryParse instead of Convert.ToXXX. BigInteger supports arbitrarily large integer values, so the size can be as large as needed.

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

Sidebar

Related Questions

I have a large text template which needs tokenized sections replaced by other text.
I have a rather large text file that has a bunch of missing newlines,
I have a large file in my repository that is not text-mergeable and that
My project when it is running, will collect a large number of string text
I have a very large text file, and my iPad program needs to occasionally
I have a large amount of text in a UITextView. I want to let
I have to deal with very large text files (2 GBs), it is mandatory
I have large batches of XHTML files that are manually updated. During the review
I'm developing a website in PHP and I have large JS files that I
In my application, I have a TextBlock that I display a Double number in

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.