Price fraction: Difference between revisions
Content added Content deleted
(Adding MUMPS example) |
(change description to reflect that most of the rescaled values do not fall within the range of values they represent) |
||
Line 1: | Line 1: | ||
{{task|Financial operations}} |
{{task|Financial operations}} |
||
A friend of mine runs a Pharmacy. He has a specialised |
A friend of mine runs a Pharmacy. He has a specialised function in his Dispensary application which receives a decimal value of currency and replaces it to a standard value. This value is regulated by a government department. |
||
Task: Given a floating point value between 0.00 and 1.00, rescale according to the following table: |
Task: Given a floating point value between 0.00 and 1.00, rescale according to the following table: |