How to drop decimal values without rounding off?

3 Ansichten (letzte 30 Tage)
Ranjani am 14 Mär. 2013
I do not want to apply Ceil/round/floor commands. I just want the digits before the decimal points. Example: 959.589 as 959 and also 959.324 as 959. Is it possible to do ?

Akzeptierte Antwort

Malcolm Lidierth
Malcolm Lidierth am 14 Mär. 2013
Bearbeitet: Malcolm Lidierth am 14 Mär. 2013

Weitere Antworten (0)


Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by