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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:05:17+00:00 2026-05-29T10:05:17+00:00

I have to convert exponential strings, like 6.5235375356299998e-07 , to a float value, and

  • 0

I have to convert exponential strings, like 6.5235375356299998e-07,
to a float value, and display the result of my computation like 0.00000065235…
How can I do this in a Python program?

  • 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-29T10:05:18+00:00Added an answer on May 29, 2026 at 10:05 am

    6.5235375356299998e-07 is a perfectly legal float even if there is an e in it. You can do the whole calculation with it:

    >>> 6.5235375356299998e-07 * 10000000
    6.5235375356300001
    
    >>> 6.5235375356299998e-07 + 10000000
    10000000.000000652
    

    In the second case, many digits will disappear because of the precision of a python’s float.

    If you need the string representation without e, try this:

    >>> '{0:.20f}'.format(6.5235375356299998e-07)
    '0.00000065235375356300'
    

    but it will become a string and you won’t be able to do any calculus with it any more.

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

Sidebar

Related Questions

I have a date like this:- 20091023 i have to convert it to a
Sometimes I have to convert from an unsigned integer value to a float. For
I have a number as a string like this: 9.756088256835938E-4 but I only can
How can I have Resharper convert code file like using Stuff; using Stuff.MoreStuff; using
I often have to convert a retreived value (usually as a string) - and
How yto convert a value to exponential i mean 1.522222 to 152.2222e-2 and .1522222e+1
I have a requirement to convert the following types of decimal numbers to exponential
I have to convert a url like você-é-um-ás-da-aviação to voce-e-um-as-da-aviacao, to make it reading
I can have Spring convert my json POST submission into an object with a
I have to convert a normal string array with the value {STX,ETX} into hex

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.