dtostrf() without rounding ??

Hi,
how can i get from FLOAT one(1) decimal place without of rounding and convert to char ??

I have float 12.37 and I want to get 12.3 ??

I am using dtostrf(x,2,1,y) and get 12.4, but i need 12.3

Brkic:
Hi,
how can i get from FLOAT one(1) decimal place without of rounding and convert to char ??

I have float 12.37 and I want to get 12.3 ??

I am using dtostrf(x,2,1,y) and get 12.4, but i need 12.3

The whole point of dtostrf() is conversion to a c-string. If you don't want to do that, why are you using it?

OK, i need from Float 12.37 to get Float 12.3.

I was resolved the problem,

v2=12.37
v2 = truncf(v2 * 10.0) / 10.0;

output is 12.3