i want to use an integer variable to raise it to a power and yes it must be an integer. (10 * 10^dl) is my problem. math.pow(double, double) only works with doubles obviously. otherwise i can just use switch statements for possible variable values but i'd like to do this instead. can anybody help?
No comments:
Post a Comment