Results 1 to 3 of 3
  1. #1
    corrosion is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Oct 2019
    Posts
    1

    Set specific exponent value in Scientific Notation

    I have a field that tracks numeric values in scientific notation. I need to be able to set all the values to the same exponent when I print out a report, or review the values in a form. As an example, I have the following three values:


    4.40E-12, 4.80E-13, 1.01E-11. I want to report them as 4.40E-12, .480E-12, and 10.10E-12. Is there a way to do this?

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Tried Google but can't find a method to get consistent E format.
    Seems it wants to have 1 digit, then decimal point, then 2 other digits, then an E value.

    Here is my sample.
    Code:
    x=23.4E-10:y=4.5162345E-11
    ?format(x,"scientific")
    2.34E-09
    ?format(y,"scientific")
    4.52E-11
    Haven't found example to have a consistent E-xx.


    1. Debug.Print Format(9123.4876, "Scientific")
    2. yields
    3. 9.12E+03



    Examples seem to be restricted to 3 digits???
    See this for more info.

  3. #3
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,424
    Are the table field values numeric or text data type? Perhaps more importantly, could the control for these values in the report be calculated and use text? If so, a function or perhaps just an expression should be able to handle it.
    E.g. 4.80E-13*10^12 & "E-" & "12" would give you 0.48E-12 but would have to be a string. Trailing zeros 0 before the E would complicate things.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Import Excel to access creates Scientific notation numbers
    By OldenMcdonald in forum Import/Export Data
    Replies: 4
    Last Post: 05-29-2017, 11:32 AM
  2. Replies: 1
    Last Post: 09-15-2015, 02:16 PM
  3. Converting Scientific notation in a Query
    By wuhsean22 in forum Queries
    Replies: 2
    Last Post: 02-06-2013, 05:30 PM
  4. Need Advice on Database for Scientific Lab Inventory & Data
    By lemmiwinks in forum Database Design
    Replies: 1
    Last Post: 01-08-2013, 07:55 PM
  5. Replies: 1
    Last Post: 11-08-2008, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums