Jump to content

Conversion of Volume or Weight


This topic is 7021 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I am making a solution for recipe conversion. I have a script that will convert the amounts when the number of servings is changed. The basic conversion is easy. Just a multiplying calc. The problem I have is that if a recipe calls for 4 fluid ounces for 4 servings and I convert it to 12 servings I get 12 ounces and I want it to say 1 1/2 cups. I have a script that basically tries to take into account every possible scenario and rounds off as well. I convert everything to milliliters or grams and then converts. But I am thinking there is a simpler way to do this. Any suggestions would be greatly appreciated

Thank you

Link to comment
Share on other sites

This topic is 7021 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.