added toAmpere conversion function