6

In programming I use values between 0 and 1 to represent percentages but the word percent means "one part in every hundred" (0-100). I've also heard people use permil for 'one part in every thousand" (0-1000).

In the past I've used the variable name perun in my code which is a made up word and most likely wouldn't make sense to others without being explained.

So my question: Is there a word that represents a value 0-1 similar to how percent represents a value 0-100?

waiwai933
  • 14,563
rennat
  • 187
  • 2
    What's wrong with "fraction"? I do use phrases like "the fraction of events in which this happens is about 0.5". – ShreevatsaR Sep 01 '11 at 05:16
  • There is absolutely a technical term for values between 0 and 1, I learned it years ago while studying splines. I'll see if I can track it down for you. – Jordaan Mylonas Sep 01 '11 at 05:52
  • 1
    You might be interested in the commentary on this closed question. – Kit Z. Fox Sep 01 '11 at 11:50
  • 3
    proportion ? – GEdgar Sep 01 '11 at 14:45
  • How is this not a real question? It's quite clear to me what is being asked, and the correct answer is proportion. A concept like 50% can alternatively be represented as a proportion by 0.5. – Michael McGowan Feb 02 '12 at 15:49
  • 1
    @MichaelMcGowan A proportion has to compare two actual things. He's talking about a quantity in terms of a notional unit. – David Schwartz Feb 28 '12 at 11:35
  • 4
    Even if there isn't a word for it, it doesn't mean the question is not a real question. It's a real question even if the answer is "no". Though in that case I'd expect the answer to offer alternatives that would work instead. – Mark Byers Jun 02 '12 at 06:24
  • It is called a proper fraction: http://en.wikipedia.org/wiki/Fraction_%28mathematics%29#Proper_and_improper_common_fractions – Benjamin Jun 21 '12 at 15:28
  • Sometimes it's a rate or a ratio, but I generally agree with the question; saying "what percent of x is y" is more idiomatic than saying "what fraction..." – David Ehrmann Apr 03 '20 at 22:23

4 Answers4

4

The word you are looking for is "fraction". A "fraction" is a number that represents the quotient of two numbers or a numeric quantity that is not a whole number. It can also simply mean a part broken off from the whole. Two online dictionaries give ".2" and "0.5" as examples of fractions.

David Schwartz
  • 10,162
  • 2
  • 36
  • 42
  • While you are not wrong I was specifically asking for alternatives to the word "fraction". – rennat Mar 24 '14 at 19:44
  • Clearly the use of "fraction" to describe "a small share" is valid in English, but in the context of mathematics would the use of "fraction" for a number like 0.2 still be valid? I would have thought not since it isn't a number with a numerator/denominator. That is why I think the OP was seeking alternatives to fraction. That said, I don't see any better alternatives. – Stephen Jul 06 '17 at 17:00
  • @Stephen 0.2 and 1/5 are the same number. They're just different representations for that same value. Fractions are numbers that are not whole number. You have to qualify the word "fraction" to make it mean a form of representation, for example, "Express 1.2 as a fraction" or "What is the fractional representation of 1.2?". – David Schwartz Jul 06 '17 at 17:49
  • I don't understand your last sentence. I wouldn't think "fraction" is qualified in "Express 1.2 as a fraction." What do we mean to say a word is qualified? I would have expected it means that a word is modified by an adjective. In any case if "Express 1.2 as a fraction" were a problem in some elementary school math book, the implication is that the student would hear "as a fraction" and know that that means one specific form of representation, not two possible forms. Also, we wouldn't write that sentence if we thought 1.2 was already a fraction, which is what you are arguing. – Stephen Jul 06 '17 at 20:05
  • @Stephen You can only "express" something as something that is a form of expression. I don't mean qualify in the grammatical sense but in the logical sense. For example, if you say "treat me like a peasant", the word "treat" qualifies "peasant" to refer to the way a peasant is typically treated, rather than any other inherent characteristic of a peasant. Similarly "Express 1.2 as a fraction" means to express the number 1.2 in the way fractions are typically expressed -- in the canonical form of representation for fractions. – David Schwartz Jul 06 '17 at 21:00
  • That I can say "treat me as a peasant" to mean "treat me the way a peasant is typically treated" doesn't mean the word "peasant" means "the way a peasant is typically treated". Just that it can be used to mean that if other words in the sentence make that happen. Similarly, you can use the word "fraction" to mean "the way a fraction is typically expressed" with the right other words. That does not mean the word "fraction" means that form of expression anymore than that I can say "treat me like a peasant" means that the word "peasant" means some form of poor treatment. – David Schwartz Jul 06 '17 at 21:03
2

Perhaps, "decimal fraction" :

1.(arithmetic) The fractional part of a decimal number: the digits to the right of the decimal point.

Thus, a "decimal fraction" would refer to numbers smaller than one, but greater than zero

Thursagen
  • 41,919
  • 1
    if he's looking for the non-interger part of a floating point number, then modulo could be used as well. –  Sep 01 '11 at 05:21
  • "Decimal" seems incorrect here since there's no relation to "10" except being a base 10 system (which is true of percents as well). – Akhil F Nov 10 '15 at 04:14
1

For such a value there is no word (no common word, at least; note that you don't know it). What you described is a value drawn from the unit interval. I suggest you use "fraction" or "unit fraction", since fraction means part of a whole in one common meaning.

Aside: Percentages do not describe integers 0 to 100; one can have 250% and 1.1%. They describe a number represented visually by 100 times its value. Any normal number is a per-unit number; it is a number represented by 1 times the value (which is also 1 times 1 times its value, etc.). Hence "perunit" then isn't a usefully descriptive name.

mgkrebbs
  • 6,927
  • You're right, you and @myqlarson both pointed out my error. I had meant that I'm looking for a word that relates to 0-1 like the word 'percent' relates to 0-100. – rennat Sep 01 '11 at 06:05
  • 1
    unit interval appears to be correct: http://math.stackexchange.com/questions/2489/is-there-a-name-for-numbers-between-zero-and-one-inclusive –  Sep 01 '11 at 10:45
  • 1
    When 10% is expressed instead as 0.1, that is called a proportion. So I claim it's wrong to say there is no such word. – Michael McGowan Feb 02 '12 at 16:47
0

Technically, percent doesn't represent 0-100. It represents 0.01 to 1. The writing convention x% makes it seem like it represents 0-100.

If your rational floating point number is always going to be between 0 and 1, then it depends on the precision you are expecting. Between 0.00 and 1.00? Then percent is the word you are after. 0.000 and 1.000? per mil is the word you are after. Etc.

  • You're right, a percent isn't bound to the range 0-100. I did a poor job with my wording. What I was meaning was "percent" is to the range 0-100 as ____ is to the range 0-1 – rennat Sep 01 '11 at 06:03