Calculates # by the power of # and rounds, including decimals. Does not operate by itself.
School side project (edit: not anymore)