Histogram division mark number on axis too dense

I run into the problem when the division mark of histogram is 0.0xxxx , result in overlap of those numbers and cannot read anything.
Any way to put multiplier 10^y (in this case y=2) on the axis. Or get rid off the numbers and leave only the first and last one.

Note that the histogram range is calculate in the script and not quite simple to know what the range gonna be, but only to run through all the data one time.

Best regards,
Khem

Try

TGaxis::SetMaxDigits(3);

see TGaxis manual.

thanks