Results 1 to 11 of 11

Thread: Digit Names

  1. #1

  2. #2
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Digit Names

    I think I've only heard of it called the "integer part" of the number. This page seems to think "decimal digits" are those ones to the left of the decimal, too. The part to the right is the "fractional part" of course, but I don't remember another name for them.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  3. #3
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: Digit Names

    Integers.

    ...

    OK, that's probably not the answer you were expecting.

    The usage of 'decimal' that you are refering to is synonymous with 'decimal fraction'. Thus, the numbers to the right of the decimal separator are the 'decimal part' of a number, with the numbers to the left being the 'integer part' of the number.

    In regard to digit names, the digits to the right of the decimal separator are called tenths, hundredths, thousandths, etc. Those to the left are called units, tens, hundreds, etc.


    ... dagnabit, jemidiah beat me to it!

  4. #4

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Digit Names

    It's not so important now because I think I've found another way around it but the reason I asked is that I have developed a control that limits what a user can enter via some Properties. One of those properties is MaxDecimals and hopefully it's pretty obvious that that limits the number of decimals to the right of the separator. I wanted to add an additional property that does the same for the other side of the separator and I needed a Max??? name.

  5. #5
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Digit Names

    The best I can come up with on the spot is "MaxDigitsLeft" and "MaxDigitsRight", or "MaxDigitsInteger", "MaxDigitsFraction"/"MaxDigitsDecimal". But I don't really think like most people so my naming schemes might be obtuse to some.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  6. #6
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Digit Names

    Isn't it called Integral part?

    http://en.wikipedia.org/wiki/Decimal_point
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  7. #7

  8. #8
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Digit Names

    characteristic and mantissa respectively.

    e.g.
    In 2.102099,
    characteristic = 2
    mantissa = 0.102099
    Last edited by Pradeep1210; Mar 31st, 2009 at 02:14 PM. Reason: added an example
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  9. #9
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Digit Names

    Quote Originally Posted by Pradeep1210 View Post
    characteristic and mantissa respectively.

    e.g.
    In 2.102099,
    characteristic = 2
    mantissa = 0.102099
    I had thought of that but I don't think that's exactly the mantissa. The mantissa would be 2.102099 in your example, with the exponent being 0.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  10. #10
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Digit Names

    Quote Originally Posted by jemidiah View Post
    I had thought of that but I don't think that's exactly the mantissa. The mantissa would be 2.102099 in your example, with the exponent being 0.
    Not sure about wikipedia in particular, but when I google for this I find many sites that say what I said.
    e.g. http://mathworld.wolfram.com/Mantissa.html

    I had read about it when I was a child and the memory has faded now. But all what I remember is before decimal is characteristic and after the decimal is mantissa. The mantissa is between 0 and 1. So it will always be 0.xxxx
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  11. #11
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Digit Names

    Wikipedia gives a somewhat similar description of "characteristic" and "mantissa" relating to the logarithm of a number. It uses the example of log 120 ~= 2.079181.

    The very last number ( 0.079181)—the fractional part of the logarithm of 120, known as the mantissa of the common logarithm of 120—was found in the table. (This stems from an older, non-numerical, meaning of the word mantissa: a minor addition or supplement, e.g. to a text. For a more modern use of the word mantissa, see significand.) The location of the decimal point in 120 tells us that the integer part of the common logarithm of 120, called the characteristic of the common logarithm of 120, is 2.

    Regardless, if you have to look it up it's going to be of no use as a naming convention
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width