I can\'t figure out why it\'s always returning the value of arg1. I\'m building a weight converter.
public double convert(double arg1,int arg2,int arg3) { //
You should be using break in switch statements,else your result may get detoriated
break