Simple "hello world" style program for X-NUCLEO-IKS01A1 MEMS Inertial & Environmental Sensor Nucleo Expansion Board

Dependencies:   X_NUCLEO_IKS01A1 mbed

Dependents:   ese_project_copy ese_project_share

Issue: printDouble fails on negative values

The function printDouble doesn't work properly on negative values.
i.e. on input value -12.34 it returns the wrong string '-12.0-34'.
As possible correction the fractional part should be computed as an absolute value:

fractPart = abs((int)((v-(double)(int)v)*i));

in this case, the input value -12.34 returns the right string '-12.34'.