battery voltage displays as “1236.0000000000”

Hi, All

My ArduStation battery voltage displays as “1236.0000000000”on the readout.

Is there an easy way to remove the zeros behind the decimal point to read like this “1236.” Instead of “1236.0000000000”?

Thanks for the help

Johnny

Tags: ArduStation, battery, voltage

Views: 2

Reply to This

Replies to This Discussion

Maybe convert it to an integer?

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service