What is Conversion Function? JavaScript provides different built-in functions to convert the values from one type to another type. Different types of conversion function are as follows:  Integer Conversion. When the user type a value in a textbox, the value is consider to be string. The browser may not be able to identify its type exactly.
Keep in mind that most of the time, the battery will not be empty when you plug in, thus reducing charging time. To recharge a completely empty car battery from an ordinary 120-volt socket, the Chevy Volt plug-in hybrid would need 10 hours and the Nissan Leaf EV would need 20 hours.
According to General Motors, the Volt battery holds 16 kwh of electricity. It takes a full 10 hours to charge a drained battery. The cost for the electricity to charge the Volt is never mentioned so I looked up what I pay for electricity. I pay approximately (it varies with amount used and the seasons) $1.16 per kwh.