What are the numbers before and after the decimal point referred to in mathematics?












91












$begingroup$


Sorry for asking such a basic question - but is there an actual term for the numbers that appear before and after the decimal point? Example:



25.18



I know the 1 is in the tenths position, the 8 is in the hundredths position. are there singular terms which apply to all of the numbers that appear both before and after the decimal point?



I'm building a billing system, storing dollars and cents as integers (in separate columns), but for other currencies "dollars" and "cents" are not the correct terms = ). Thanks!










share|cite|improve this question











$endgroup$








  • 13




    $begingroup$
    The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
    $endgroup$
    – yunone
    Sep 13 '11 at 0:37








  • 6




    $begingroup$
    The part before the decimal is sometimes called the Characteristic.
    $endgroup$
    – user02138
    Sep 13 '11 at 0:39






  • 1




    $begingroup$
    I have to say $n$ and $varepsilon$.
    $endgroup$
    – Raphael
    Jan 20 '12 at 18:57






  • 1




    $begingroup$
    BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
    $endgroup$
    – Ben Crowell
    Feb 9 '12 at 3:09
















91












$begingroup$


Sorry for asking such a basic question - but is there an actual term for the numbers that appear before and after the decimal point? Example:



25.18



I know the 1 is in the tenths position, the 8 is in the hundredths position. are there singular terms which apply to all of the numbers that appear both before and after the decimal point?



I'm building a billing system, storing dollars and cents as integers (in separate columns), but for other currencies "dollars" and "cents" are not the correct terms = ). Thanks!










share|cite|improve this question











$endgroup$








  • 13




    $begingroup$
    The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
    $endgroup$
    – yunone
    Sep 13 '11 at 0:37








  • 6




    $begingroup$
    The part before the decimal is sometimes called the Characteristic.
    $endgroup$
    – user02138
    Sep 13 '11 at 0:39






  • 1




    $begingroup$
    I have to say $n$ and $varepsilon$.
    $endgroup$
    – Raphael
    Jan 20 '12 at 18:57






  • 1




    $begingroup$
    BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
    $endgroup$
    – Ben Crowell
    Feb 9 '12 at 3:09














91












91








91


18



$begingroup$


Sorry for asking such a basic question - but is there an actual term for the numbers that appear before and after the decimal point? Example:



25.18



I know the 1 is in the tenths position, the 8 is in the hundredths position. are there singular terms which apply to all of the numbers that appear both before and after the decimal point?



I'm building a billing system, storing dollars and cents as integers (in separate columns), but for other currencies "dollars" and "cents" are not the correct terms = ). Thanks!










share|cite|improve this question











$endgroup$




Sorry for asking such a basic question - but is there an actual term for the numbers that appear before and after the decimal point? Example:



25.18



I know the 1 is in the tenths position, the 8 is in the hundredths position. are there singular terms which apply to all of the numbers that appear both before and after the decimal point?



I'm building a billing system, storing dollars and cents as integers (in separate columns), but for other currencies "dollars" and "cents" are not the correct terms = ). Thanks!







terminology number-systems






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 9 '12 at 2:38









J. M. is not a mathematician

61.3k5152290




61.3k5152290










asked Sep 13 '11 at 0:34









Calvin FroedgeCalvin Froedge

611158




611158








  • 13




    $begingroup$
    The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
    $endgroup$
    – yunone
    Sep 13 '11 at 0:37








  • 6




    $begingroup$
    The part before the decimal is sometimes called the Characteristic.
    $endgroup$
    – user02138
    Sep 13 '11 at 0:39






  • 1




    $begingroup$
    I have to say $n$ and $varepsilon$.
    $endgroup$
    – Raphael
    Jan 20 '12 at 18:57






  • 1




    $begingroup$
    BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
    $endgroup$
    – Ben Crowell
    Feb 9 '12 at 3:09














  • 13




    $begingroup$
    The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
    $endgroup$
    – yunone
    Sep 13 '11 at 0:37








  • 6




    $begingroup$
    The part before the decimal is sometimes called the Characteristic.
    $endgroup$
    – user02138
    Sep 13 '11 at 0:39






  • 1




    $begingroup$
    I have to say $n$ and $varepsilon$.
    $endgroup$
    – Raphael
    Jan 20 '12 at 18:57






  • 1




    $begingroup$
    BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
    $endgroup$
    – Ben Crowell
    Feb 9 '12 at 3:09








13




13




$begingroup$
The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
$endgroup$
– yunone
Sep 13 '11 at 0:37






$begingroup$
The part after the decimal is sometimes called the Mantissa. There are also articles on the Fractional Part and Integer Part on Wolfram which might be helpful.
$endgroup$
– yunone
Sep 13 '11 at 0:37






6




6




$begingroup$
The part before the decimal is sometimes called the Characteristic.
$endgroup$
– user02138
Sep 13 '11 at 0:39




$begingroup$
The part before the decimal is sometimes called the Characteristic.
$endgroup$
– user02138
Sep 13 '11 at 0:39




1




1




$begingroup$
I have to say $n$ and $varepsilon$.
$endgroup$
– Raphael
Jan 20 '12 at 18:57




$begingroup$
I have to say $n$ and $varepsilon$.
$endgroup$
– Raphael
Jan 20 '12 at 18:57




1




1




$begingroup$
BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
$endgroup$
– Ben Crowell
Feb 9 '12 at 3:09




$begingroup$
BTW, the most common reason people used to learn these terms is that they were using tables of logarithms.
$endgroup$
– Ben Crowell
Feb 9 '12 at 3:09










5 Answers
5






active

oldest

votes


















71












$begingroup$

There are two terminologies that I'm familiar with. Sometimes, the part to the right of the decimal (cents) is called the mantissa, and the part to the left (dollars, in your metaphor), is called the characteristic.



But I also like the generic terms integer-part and fractional-part. It's what I and those with whom I do research call them (who uses the word mantissa routinely? not me, but perhaps someone). Yes, I know the fractional part doesn't actually have to be a fraction, but that's just something I toss into my big bag of math vagaries.






share|cite|improve this answer











$endgroup$









  • 3




    $begingroup$
    For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
    $endgroup$
    – Henning Makholm
    Sep 13 '11 at 1:22








  • 1




    $begingroup$
    The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
    $endgroup$
    – Gerry Myerson
    Sep 13 '11 at 1:41






  • 3




    $begingroup$
    According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
    $endgroup$
    – Willie Wong
    Sep 13 '11 at 1:54






  • 3




    $begingroup$
    @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
    $endgroup$
    – Jan-Philip Gehrcke
    Mar 6 '13 at 18:09






  • 3




    $begingroup$
    This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
    $endgroup$
    – Jan-Philip Gehrcke
    Mar 7 '13 at 18:48



















16












$begingroup$

Since the term "Mantissa" can refer to the "Fractional part" of the number for logs, and it can also refer to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part") for numbers in scientific notation and floating point... it is an ambiguous term and should be avoided.



"Significand" is also not appropriate since it also refers to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part"), for numbers in scientific notation and floating point.



I prefer to use the terms "Integer digits" and "Fractional digits" (or "Integer part" and "Fractional part").



As far as the method to capture the "Integer digits" and "Fractional digits" for a negative number. Given a negative number like n = -2.3:



(Perhaps this is not important to you because your numbers (data) may all be positive numbers).



Method 1:

While it may be correct from a purely technical or academic standpoint to split this up as:

"Integer digits" = (-)3

"Fractional digits" = (+).7



It may not make sense for you depending on how you will use it.



If you will be treating these parts of the number, also as numbers (rather than "Strings"), and you will at some time combine these two number parts back into the original number, this method has the advantage that you can simply add the two parts of the number together to get the original number back: (-)3 + (+).7 = (-)2.3.



Method 2:

You could get the same effect by storing the sign of the number with each part of the number:

"Integer digits" = (-)2
"Fractional digits" = (-).3



This will also allow you to simply add the two parts of the number together to get the original number back: (-)2 + (-).3 = (-)2.3.



But, perhaps your purpose of breaking the number up is to facilitate displaying the number in a particular way. Neither of these methods would be very useful for this purpose, particularly if you were storing the number parts as strings. Storing the number parts using the first method would take some odd Mathematical gymnastics to get a printable version of the number back.



My recommendation is Method 3:

Split the number up like this:




  1. Given a number "n" like n = -2.3 or n = 2.3

  2. Store the "Sign" of the number:   s = Sgn(n)

    Or as boolean:   s = (n >= 0)

  3. Remove the "Sign" of the number   n = Abs(n)

  4. Save "Integer digits" portion:   i = Fix(n)

  5. Save "Decimal digits" portion:   d = n - i

    Or as "String":   d = Mid(CStr(n - i), 3)

    Or as "Integer":   d = ((n - i) * 10000)






share|cite|improve this answer









$endgroup$





















    4












    $begingroup$

    "scale of a number":



    Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.



    bc - The arbitrary precision calculator - defines it for us in their documentation. For example, type man bc on your linux terminal



       NUMBERS
    The most basic element in bc is the number. Numbers are arbitrary pre‐
    cision numbers. This precision is both in the integer part and the
    fractional part. All numbers are represented internally in decimal and
    all computation is done in decimal. (This version truncates results
    from divide and multiply operations.) There are two attributes of num‐
    bers, the length and the scale. The length is the total number of dec‐
    imal digits used by bc to represent a number and the scale is the total
    number of decimal digits after the decimal point. For example:
    .000001 has a length of 6 and scale of 6.
    1935.000 has a length of 7 and a scale of 3.


    other similar question and some oracle db documentation






    share|cite|improve this answer











    $endgroup$









    • 1




      $begingroup$
      Do you have a reference for this terminology? I've never heard it used in this context.
      $endgroup$
      – Michael Albanese
      Jan 26 '16 at 21:09










    • $begingroup$
      I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
      $endgroup$
      – activedecay
      Jan 28 '17 at 3:37



















    0












    $begingroup$

    the number before the decimal point is called the whole number while the number after the decimal point is called the part of a whole



    ...






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      See the comments for the correct terms.
      $endgroup$
      – Chris Godsil
      Jun 11 '13 at 0:24



















    0












    $begingroup$

    Sometimes, the part to the right of the decimal point is called the mantissa, while the part to the left is called the characteristics.






    share|cite|improve this answer









    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("mathjaxEditing", function () {
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      });
      });
      }, "mathjax-editing");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "69"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f64042%2fwhat-are-the-numbers-before-and-after-the-decimal-point-referred-to-in-mathemati%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      71












      $begingroup$

      There are two terminologies that I'm familiar with. Sometimes, the part to the right of the decimal (cents) is called the mantissa, and the part to the left (dollars, in your metaphor), is called the characteristic.



      But I also like the generic terms integer-part and fractional-part. It's what I and those with whom I do research call them (who uses the word mantissa routinely? not me, but perhaps someone). Yes, I know the fractional part doesn't actually have to be a fraction, but that's just something I toss into my big bag of math vagaries.






      share|cite|improve this answer











      $endgroup$









      • 3




        $begingroup$
        For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
        $endgroup$
        – Henning Makholm
        Sep 13 '11 at 1:22








      • 1




        $begingroup$
        The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
        $endgroup$
        – Gerry Myerson
        Sep 13 '11 at 1:41






      • 3




        $begingroup$
        According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
        $endgroup$
        – Willie Wong
        Sep 13 '11 at 1:54






      • 3




        $begingroup$
        @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 6 '13 at 18:09






      • 3




        $begingroup$
        This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 7 '13 at 18:48
















      71












      $begingroup$

      There are two terminologies that I'm familiar with. Sometimes, the part to the right of the decimal (cents) is called the mantissa, and the part to the left (dollars, in your metaphor), is called the characteristic.



      But I also like the generic terms integer-part and fractional-part. It's what I and those with whom I do research call them (who uses the word mantissa routinely? not me, but perhaps someone). Yes, I know the fractional part doesn't actually have to be a fraction, but that's just something I toss into my big bag of math vagaries.






      share|cite|improve this answer











      $endgroup$









      • 3




        $begingroup$
        For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
        $endgroup$
        – Henning Makholm
        Sep 13 '11 at 1:22








      • 1




        $begingroup$
        The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
        $endgroup$
        – Gerry Myerson
        Sep 13 '11 at 1:41






      • 3




        $begingroup$
        According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
        $endgroup$
        – Willie Wong
        Sep 13 '11 at 1:54






      • 3




        $begingroup$
        @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 6 '13 at 18:09






      • 3




        $begingroup$
        This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 7 '13 at 18:48














      71












      71








      71





      $begingroup$

      There are two terminologies that I'm familiar with. Sometimes, the part to the right of the decimal (cents) is called the mantissa, and the part to the left (dollars, in your metaphor), is called the characteristic.



      But I also like the generic terms integer-part and fractional-part. It's what I and those with whom I do research call them (who uses the word mantissa routinely? not me, but perhaps someone). Yes, I know the fractional part doesn't actually have to be a fraction, but that's just something I toss into my big bag of math vagaries.






      share|cite|improve this answer











      $endgroup$



      There are two terminologies that I'm familiar with. Sometimes, the part to the right of the decimal (cents) is called the mantissa, and the part to the left (dollars, in your metaphor), is called the characteristic.



      But I also like the generic terms integer-part and fractional-part. It's what I and those with whom I do research call them (who uses the word mantissa routinely? not me, but perhaps someone). Yes, I know the fractional part doesn't actually have to be a fraction, but that's just something I toss into my big bag of math vagaries.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Oct 3 '17 at 1:28









      hippietrail

      355111




      355111










      answered Sep 13 '11 at 0:46









      davidlowrydudadavidlowryduda

      74.9k7119254




      74.9k7119254








      • 3




        $begingroup$
        For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
        $endgroup$
        – Henning Makholm
        Sep 13 '11 at 1:22








      • 1




        $begingroup$
        The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
        $endgroup$
        – Gerry Myerson
        Sep 13 '11 at 1:41






      • 3




        $begingroup$
        According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
        $endgroup$
        – Willie Wong
        Sep 13 '11 at 1:54






      • 3




        $begingroup$
        @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 6 '13 at 18:09






      • 3




        $begingroup$
        This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 7 '13 at 18:48














      • 3




        $begingroup$
        For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
        $endgroup$
        – Henning Makholm
        Sep 13 '11 at 1:22








      • 1




        $begingroup$
        The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
        $endgroup$
        – Gerry Myerson
        Sep 13 '11 at 1:41






      • 3




        $begingroup$
        According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
        $endgroup$
        – Willie Wong
        Sep 13 '11 at 1:54






      • 3




        $begingroup$
        @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 6 '13 at 18:09






      • 3




        $begingroup$
        This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
        $endgroup$
        – Jan-Philip Gehrcke
        Mar 7 '13 at 18:48








      3




      3




      $begingroup$
      For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
      $endgroup$
      – Henning Makholm
      Sep 13 '11 at 1:22






      $begingroup$
      For what it's worth, in the context of floating-point computer arithmetic, "mantissa" is standard terminology for the "234" part of exponential notations such as "$1.234times 10^{56}$".
      $endgroup$
      – Henning Makholm
      Sep 13 '11 at 1:22






      1




      1




      $begingroup$
      The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
      $endgroup$
      – Gerry Myerson
      Sep 13 '11 at 1:41




      $begingroup$
      The integer and fractional parts of -2.3 are -3 and .7, respectively, despite what some calculators say. What are the characteristic and mantissa of -2.3, I wonder.
      $endgroup$
      – Gerry Myerson
      Sep 13 '11 at 1:41




      3




      3




      $begingroup$
      According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
      $endgroup$
      – Willie Wong
      Sep 13 '11 at 1:54




      $begingroup$
      According to MathWorld, the mantissa of a real number is $x - lfloor xrfloor$, so the mantissa of -2.3 is 0.7. On the other hand, MathWorld disagrees with @Gerry (and according to the linked article itself, with probably most mathematicians) in defining the "fractional part" of negative numbers to be $x - lceil xrceil$, which would give the fractional part of -2.3 to be -0.3. I assume this convention is due to some implementation convenience for Mathematica.
      $endgroup$
      – Willie Wong
      Sep 13 '11 at 1:54




      3




      3




      $begingroup$
      @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
      $endgroup$
      – Jan-Philip Gehrcke
      Mar 6 '13 at 18:09




      $begingroup$
      @HenningMakholm In computer arithmetic, don't we usually use "Mantissa" for everything except the exponent? This is also what Wikipedia says here: en.wikipedia.org/wiki/Mantissa "The significand of floating-point number or scientific notation".
      $endgroup$
      – Jan-Philip Gehrcke
      Mar 6 '13 at 18:09




      3




      3




      $begingroup$
      This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
      $endgroup$
      – Jan-Philip Gehrcke
      Mar 7 '13 at 18:48




      $begingroup$
      This discussion is not so important to me anyway. But my point was the following: You said "mantissa is standard terminology for the 234 part of exponential notations such as 1.234 × 10e56". According to that wikipedia article, however, the mantissa is the 1.234 part, so including the 1.. That's the difference.
      $endgroup$
      – Jan-Philip Gehrcke
      Mar 7 '13 at 18:48











      16












      $begingroup$

      Since the term "Mantissa" can refer to the "Fractional part" of the number for logs, and it can also refer to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part") for numbers in scientific notation and floating point... it is an ambiguous term and should be avoided.



      "Significand" is also not appropriate since it also refers to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part"), for numbers in scientific notation and floating point.



      I prefer to use the terms "Integer digits" and "Fractional digits" (or "Integer part" and "Fractional part").



      As far as the method to capture the "Integer digits" and "Fractional digits" for a negative number. Given a negative number like n = -2.3:



      (Perhaps this is not important to you because your numbers (data) may all be positive numbers).



      Method 1:

      While it may be correct from a purely technical or academic standpoint to split this up as:

      "Integer digits" = (-)3

      "Fractional digits" = (+).7



      It may not make sense for you depending on how you will use it.



      If you will be treating these parts of the number, also as numbers (rather than "Strings"), and you will at some time combine these two number parts back into the original number, this method has the advantage that you can simply add the two parts of the number together to get the original number back: (-)3 + (+).7 = (-)2.3.



      Method 2:

      You could get the same effect by storing the sign of the number with each part of the number:

      "Integer digits" = (-)2
      "Fractional digits" = (-).3



      This will also allow you to simply add the two parts of the number together to get the original number back: (-)2 + (-).3 = (-)2.3.



      But, perhaps your purpose of breaking the number up is to facilitate displaying the number in a particular way. Neither of these methods would be very useful for this purpose, particularly if you were storing the number parts as strings. Storing the number parts using the first method would take some odd Mathematical gymnastics to get a printable version of the number back.



      My recommendation is Method 3:

      Split the number up like this:




      1. Given a number "n" like n = -2.3 or n = 2.3

      2. Store the "Sign" of the number:   s = Sgn(n)

        Or as boolean:   s = (n >= 0)

      3. Remove the "Sign" of the number   n = Abs(n)

      4. Save "Integer digits" portion:   i = Fix(n)

      5. Save "Decimal digits" portion:   d = n - i

        Or as "String":   d = Mid(CStr(n - i), 3)

        Or as "Integer":   d = ((n - i) * 10000)






      share|cite|improve this answer









      $endgroup$


















        16












        $begingroup$

        Since the term "Mantissa" can refer to the "Fractional part" of the number for logs, and it can also refer to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part") for numbers in scientific notation and floating point... it is an ambiguous term and should be avoided.



        "Significand" is also not appropriate since it also refers to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part"), for numbers in scientific notation and floating point.



        I prefer to use the terms "Integer digits" and "Fractional digits" (or "Integer part" and "Fractional part").



        As far as the method to capture the "Integer digits" and "Fractional digits" for a negative number. Given a negative number like n = -2.3:



        (Perhaps this is not important to you because your numbers (data) may all be positive numbers).



        Method 1:

        While it may be correct from a purely technical or academic standpoint to split this up as:

        "Integer digits" = (-)3

        "Fractional digits" = (+).7



        It may not make sense for you depending on how you will use it.



        If you will be treating these parts of the number, also as numbers (rather than "Strings"), and you will at some time combine these two number parts back into the original number, this method has the advantage that you can simply add the two parts of the number together to get the original number back: (-)3 + (+).7 = (-)2.3.



        Method 2:

        You could get the same effect by storing the sign of the number with each part of the number:

        "Integer digits" = (-)2
        "Fractional digits" = (-).3



        This will also allow you to simply add the two parts of the number together to get the original number back: (-)2 + (-).3 = (-)2.3.



        But, perhaps your purpose of breaking the number up is to facilitate displaying the number in a particular way. Neither of these methods would be very useful for this purpose, particularly if you were storing the number parts as strings. Storing the number parts using the first method would take some odd Mathematical gymnastics to get a printable version of the number back.



        My recommendation is Method 3:

        Split the number up like this:




        1. Given a number "n" like n = -2.3 or n = 2.3

        2. Store the "Sign" of the number:   s = Sgn(n)

          Or as boolean:   s = (n >= 0)

        3. Remove the "Sign" of the number   n = Abs(n)

        4. Save "Integer digits" portion:   i = Fix(n)

        5. Save "Decimal digits" portion:   d = n - i

          Or as "String":   d = Mid(CStr(n - i), 3)

          Or as "Integer":   d = ((n - i) * 10000)






        share|cite|improve this answer









        $endgroup$
















          16












          16








          16





          $begingroup$

          Since the term "Mantissa" can refer to the "Fractional part" of the number for logs, and it can also refer to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part") for numbers in scientific notation and floating point... it is an ambiguous term and should be avoided.



          "Significand" is also not appropriate since it also refers to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part"), for numbers in scientific notation and floating point.



          I prefer to use the terms "Integer digits" and "Fractional digits" (or "Integer part" and "Fractional part").



          As far as the method to capture the "Integer digits" and "Fractional digits" for a negative number. Given a negative number like n = -2.3:



          (Perhaps this is not important to you because your numbers (data) may all be positive numbers).



          Method 1:

          While it may be correct from a purely technical or academic standpoint to split this up as:

          "Integer digits" = (-)3

          "Fractional digits" = (+).7



          It may not make sense for you depending on how you will use it.



          If you will be treating these parts of the number, also as numbers (rather than "Strings"), and you will at some time combine these two number parts back into the original number, this method has the advantage that you can simply add the two parts of the number together to get the original number back: (-)3 + (+).7 = (-)2.3.



          Method 2:

          You could get the same effect by storing the sign of the number with each part of the number:

          "Integer digits" = (-)2
          "Fractional digits" = (-).3



          This will also allow you to simply add the two parts of the number together to get the original number back: (-)2 + (-).3 = (-)2.3.



          But, perhaps your purpose of breaking the number up is to facilitate displaying the number in a particular way. Neither of these methods would be very useful for this purpose, particularly if you were storing the number parts as strings. Storing the number parts using the first method would take some odd Mathematical gymnastics to get a printable version of the number back.



          My recommendation is Method 3:

          Split the number up like this:




          1. Given a number "n" like n = -2.3 or n = 2.3

          2. Store the "Sign" of the number:   s = Sgn(n)

            Or as boolean:   s = (n >= 0)

          3. Remove the "Sign" of the number   n = Abs(n)

          4. Save "Integer digits" portion:   i = Fix(n)

          5. Save "Decimal digits" portion:   d = n - i

            Or as "String":   d = Mid(CStr(n - i), 3)

            Or as "Integer":   d = ((n - i) * 10000)






          share|cite|improve this answer









          $endgroup$



          Since the term "Mantissa" can refer to the "Fractional part" of the number for logs, and it can also refer to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part") for numbers in scientific notation and floating point... it is an ambiguous term and should be avoided.



          "Significand" is also not appropriate since it also refers to the "Integer part" and "Fractional part" of the number (combined, without the "Exponent part"), for numbers in scientific notation and floating point.



          I prefer to use the terms "Integer digits" and "Fractional digits" (or "Integer part" and "Fractional part").



          As far as the method to capture the "Integer digits" and "Fractional digits" for a negative number. Given a negative number like n = -2.3:



          (Perhaps this is not important to you because your numbers (data) may all be positive numbers).



          Method 1:

          While it may be correct from a purely technical or academic standpoint to split this up as:

          "Integer digits" = (-)3

          "Fractional digits" = (+).7



          It may not make sense for you depending on how you will use it.



          If you will be treating these parts of the number, also as numbers (rather than "Strings"), and you will at some time combine these two number parts back into the original number, this method has the advantage that you can simply add the two parts of the number together to get the original number back: (-)3 + (+).7 = (-)2.3.



          Method 2:

          You could get the same effect by storing the sign of the number with each part of the number:

          "Integer digits" = (-)2
          "Fractional digits" = (-).3



          This will also allow you to simply add the two parts of the number together to get the original number back: (-)2 + (-).3 = (-)2.3.



          But, perhaps your purpose of breaking the number up is to facilitate displaying the number in a particular way. Neither of these methods would be very useful for this purpose, particularly if you were storing the number parts as strings. Storing the number parts using the first method would take some odd Mathematical gymnastics to get a printable version of the number back.



          My recommendation is Method 3:

          Split the number up like this:




          1. Given a number "n" like n = -2.3 or n = 2.3

          2. Store the "Sign" of the number:   s = Sgn(n)

            Or as boolean:   s = (n >= 0)

          3. Remove the "Sign" of the number   n = Abs(n)

          4. Save "Integer digits" portion:   i = Fix(n)

          5. Save "Decimal digits" portion:   d = n - i

            Or as "String":   d = Mid(CStr(n - i), 3)

            Or as "Integer":   d = ((n - i) * 10000)







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jul 8 '13 at 8:47









          Kevin FeganKevin Fegan

          47138




          47138























              4












              $begingroup$

              "scale of a number":



              Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.



              bc - The arbitrary precision calculator - defines it for us in their documentation. For example, type man bc on your linux terminal



                 NUMBERS
              The most basic element in bc is the number. Numbers are arbitrary pre‐
              cision numbers. This precision is both in the integer part and the
              fractional part. All numbers are represented internally in decimal and
              all computation is done in decimal. (This version truncates results
              from divide and multiply operations.) There are two attributes of num‐
              bers, the length and the scale. The length is the total number of dec‐
              imal digits used by bc to represent a number and the scale is the total
              number of decimal digits after the decimal point. For example:
              .000001 has a length of 6 and scale of 6.
              1935.000 has a length of 7 and a scale of 3.


              other similar question and some oracle db documentation






              share|cite|improve this answer











              $endgroup$









              • 1




                $begingroup$
                Do you have a reference for this terminology? I've never heard it used in this context.
                $endgroup$
                – Michael Albanese
                Jan 26 '16 at 21:09










              • $begingroup$
                I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
                $endgroup$
                – activedecay
                Jan 28 '17 at 3:37
















              4












              $begingroup$

              "scale of a number":



              Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.



              bc - The arbitrary precision calculator - defines it for us in their documentation. For example, type man bc on your linux terminal



                 NUMBERS
              The most basic element in bc is the number. Numbers are arbitrary pre‐
              cision numbers. This precision is both in the integer part and the
              fractional part. All numbers are represented internally in decimal and
              all computation is done in decimal. (This version truncates results
              from divide and multiply operations.) There are two attributes of num‐
              bers, the length and the scale. The length is the total number of dec‐
              imal digits used by bc to represent a number and the scale is the total
              number of decimal digits after the decimal point. For example:
              .000001 has a length of 6 and scale of 6.
              1935.000 has a length of 7 and a scale of 3.


              other similar question and some oracle db documentation






              share|cite|improve this answer











              $endgroup$









              • 1




                $begingroup$
                Do you have a reference for this terminology? I've never heard it used in this context.
                $endgroup$
                – Michael Albanese
                Jan 26 '16 at 21:09










              • $begingroup$
                I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
                $endgroup$
                – activedecay
                Jan 28 '17 at 3:37














              4












              4








              4





              $begingroup$

              "scale of a number":



              Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.



              bc - The arbitrary precision calculator - defines it for us in their documentation. For example, type man bc on your linux terminal



                 NUMBERS
              The most basic element in bc is the number. Numbers are arbitrary pre‐
              cision numbers. This precision is both in the integer part and the
              fractional part. All numbers are represented internally in decimal and
              all computation is done in decimal. (This version truncates results
              from divide and multiply operations.) There are two attributes of num‐
              bers, the length and the scale. The length is the total number of dec‐
              imal digits used by bc to represent a number and the scale is the total
              number of decimal digits after the decimal point. For example:
              .000001 has a length of 6 and scale of 6.
              1935.000 has a length of 7 and a scale of 3.


              other similar question and some oracle db documentation






              share|cite|improve this answer











              $endgroup$



              "scale of a number":



              Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2.



              bc - The arbitrary precision calculator - defines it for us in their documentation. For example, type man bc on your linux terminal



                 NUMBERS
              The most basic element in bc is the number. Numbers are arbitrary pre‐
              cision numbers. This precision is both in the integer part and the
              fractional part. All numbers are represented internally in decimal and
              all computation is done in decimal. (This version truncates results
              from divide and multiply operations.) There are two attributes of num‐
              bers, the length and the scale. The length is the total number of dec‐
              imal digits used by bc to represent a number and the scale is the total
              number of decimal digits after the decimal point. For example:
              .000001 has a length of 6 and scale of 6.
              1935.000 has a length of 7 and a scale of 3.


              other similar question and some oracle db documentation







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Jan 20 at 0:38

























              answered Jan 26 '16 at 20:36









              activedecayactivedecay

              1695




              1695








              • 1




                $begingroup$
                Do you have a reference for this terminology? I've never heard it used in this context.
                $endgroup$
                – Michael Albanese
                Jan 26 '16 at 21:09










              • $begingroup$
                I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
                $endgroup$
                – activedecay
                Jan 28 '17 at 3:37














              • 1




                $begingroup$
                Do you have a reference for this terminology? I've never heard it used in this context.
                $endgroup$
                – Michael Albanese
                Jan 26 '16 at 21:09










              • $begingroup$
                I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
                $endgroup$
                – activedecay
                Jan 28 '17 at 3:37








              1




              1




              $begingroup$
              Do you have a reference for this terminology? I've never heard it used in this context.
              $endgroup$
              – Michael Albanese
              Jan 26 '16 at 21:09




              $begingroup$
              Do you have a reference for this terminology? I've never heard it used in this context.
              $endgroup$
              – Michael Albanese
              Jan 26 '16 at 21:09












              $begingroup$
              I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
              $endgroup$
              – activedecay
              Jan 28 '17 at 3:37




              $begingroup$
              I think you should remove your votes to delete this post; I've cited articles that use this term in the computer science field.
              $endgroup$
              – activedecay
              Jan 28 '17 at 3:37











              0












              $begingroup$

              the number before the decimal point is called the whole number while the number after the decimal point is called the part of a whole



              ...






              share|cite|improve this answer









              $endgroup$













              • $begingroup$
                See the comments for the correct terms.
                $endgroup$
                – Chris Godsil
                Jun 11 '13 at 0:24
















              0












              $begingroup$

              the number before the decimal point is called the whole number while the number after the decimal point is called the part of a whole



              ...






              share|cite|improve this answer









              $endgroup$













              • $begingroup$
                See the comments for the correct terms.
                $endgroup$
                – Chris Godsil
                Jun 11 '13 at 0:24














              0












              0








              0





              $begingroup$

              the number before the decimal point is called the whole number while the number after the decimal point is called the part of a whole



              ...






              share|cite|improve this answer









              $endgroup$



              the number before the decimal point is called the whole number while the number after the decimal point is called the part of a whole



              ...







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Jun 10 '13 at 23:43









              emilyemily

              1




              1












              • $begingroup$
                See the comments for the correct terms.
                $endgroup$
                – Chris Godsil
                Jun 11 '13 at 0:24


















              • $begingroup$
                See the comments for the correct terms.
                $endgroup$
                – Chris Godsil
                Jun 11 '13 at 0:24
















              $begingroup$
              See the comments for the correct terms.
              $endgroup$
              – Chris Godsil
              Jun 11 '13 at 0:24




              $begingroup$
              See the comments for the correct terms.
              $endgroup$
              – Chris Godsil
              Jun 11 '13 at 0:24











              0












              $begingroup$

              Sometimes, the part to the right of the decimal point is called the mantissa, while the part to the left is called the characteristics.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                Sometimes, the part to the right of the decimal point is called the mantissa, while the part to the left is called the characteristics.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Sometimes, the part to the right of the decimal point is called the mantissa, while the part to the left is called the characteristics.






                  share|cite|improve this answer









                  $endgroup$



                  Sometimes, the part to the right of the decimal point is called the mantissa, while the part to the left is called the characteristics.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Mar 26 '18 at 10:51









                  Sonu kumarSonu kumar

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f64042%2fwhat-are-the-numbers-before-and-after-the-decimal-point-referred-to-in-mathemati%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      MongoDB - Not Authorized To Execute Command

                      How to fix TextFormField cause rebuild widget in Flutter

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith