added toVolts conversion function