Solved

Calculator that will covert a decimal inch measurement to a mix fractional feet measurement

Posted on 2008-10-29
3
1,011 Views
Last Modified: 2012-06-27
I would like to make a calculator that will covert a decimal inch measurement to a mix fractional feet measurement and vise-versa.
0
Comment
Question by:ITennis
3 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 250 total points
ID: 22832137
0
 
LVL 18

Assisted Solution

by:deighton
deighton earned 125 total points
ID: 22832561
your basic formula is


from decimal value x

feet = int(x / 12)

inch = x - feet * 12



from feet inches to decimal

feet * 12 + inches
0
 
LVL 1

Assisted Solution

by:DDPaL
DDPaL earned 125 total points
ID: 22899796
Here's a free one already been made - convert.exe
http://wscope.com/convert.htm
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Baseline sigma 8 37
Energy conservation - Edward Leedskalnin 20 107
Auto Adjust Percent rate 5 49
Lock or digital lock that are lockable from both inside plus outside 12 55
A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question