Solved

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

Posted on 2008-10-29
3
1,014 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
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‚Ķ

628 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