can some one work this out?

what is the formula to work out the size of a tank in gallons from its measurements?

i need to know for a program i'm making in java for my 2nd year project.

cheers
 
To convert from US gallons to litres, multiply by 3.8.
To convert from US gallons to UK gallons, multiply by 0.8.

Jon

[EDIT: to convert litres to UK gallons, multiply by 4.54]
 
jflowers said:
To convert from US gallons to litres, multiply by 3.8.
To convert from US gallons to UK gallons, multiply by 0.8.

Jon
thanks again..

i'll mention you in the credits :p
 
ad_smith said:
jflowers said:
To convert from US gallons to litres, multiply by 3.8.
To convert from US gallons to UK gallons, multiply by 0.8.

Jon
thanks again..

i'll mention you in the credits :p
Thanks :p

Whats the program you are doing? I would be interested as I teach programming.

Thanks

Jon
 
jflowers said:
ad_smith said:
jflowers said:
To convert from US gallons to litres, multiply by 3.8.
To convert from US gallons to UK gallons, multiply by 0.8.

Jon
thanks again..

i'll mention you in the credits :p
Thanks :p

Whats the program you are doing? I would be interested as I teach programming.

Thanks

Jon
its gonna be a 3 part program...

one part will be an aquarium calculator for working out tank size, lighting requirements etc...

there will be a calendar were you can make diary entries for a certain date, you can store the water parameters and write about how the tank is doing, what you done to it etc...

the third part will be a database where you can look up info on fish. you can type in the fish name and it will bring up the fish you want telling you all about it, and you can add your own submissions to it. (i was thinking people could create them and share them with other people over the net... or i could release a pack every so often with my fish info in it.

i was also thinking of making a reminder system so you can set reminders for when to do a water change or when its your fishies birthday :p

i'm making it in java... i only have 9 weeks to make it now i think so i better start getting it done soon
 
Cool program. It would be nice if you made it available here when done, I know you can't charge for it as it will be owned by the university that you are studying at, but if you ask, they should let you make it freely available.

Need any help with it, let me know, I would love a program like that. I like the fishy birthday part :D

Jon
 
jflowers said:
Cool program. It would be nice if you made it available here when done, I know you can't charge for it as it will be owned by the university that you are studying at, but if you ask, they should let you make it freely available.

Need any help with it, let me know, I would love a program like that. I like the fishy birthday part :D

Jon
when i made it, i'll put a copy on my pendrive and host it for everyone here to dll it.

i'll hold you to that help :p i think i'll need it

cheers
 
ad_smith,
That would be a great program. Wonder if you could accept Paypal donations for it like many other useful proggies I have seen on the net. I was searching for a good one to track water parameters when I first set up my 20 gal hex. I also found a couple of converter/calculators that may help you or others. I hope it's OK to post the link here.
http://tools.fishindex.com/
I used it to do volume of the 20US gal hex and it said 18US gal. I don't know if the company All-Glass just rounds up to 20 or if the calculator is off. I measured the inside dim of one side of hex and got 9" wide X 20" high.
Just another thought for your project. Since it is done in Java, you could port it out to a cell phone applet easily and then make an alarm for feeding time or weekly water change etc... (fishies bdays)
It would be really neat to get a reminder call when the fish needed something. :)
Please keep us posted!
itZme
 
Am here to help, pm me with programming problems, the rest should be available here.

Wish I had that idea while doing my degree.

Jon

p.s. itZme's idea is a good one for getting some cash out of this. Not many make donations through programs like this, but some do.

Jon
 
the program will be pretty basic as i only have a very limited knowledge
... but with other peoples help and the java API i'm shure i can get something out of it.

i might start designing the layout now :D
 

Most reactions

Back
Top