Truncated HP and MP values in battle + menu?

Hello! I was wondering if anybody knew how to make it so the values of HP and MP appear truncated in battles?

Kind of like this.

1733955314394.png
Maybe just make the numbers smaller?
Maybe just make the numbers smaller?

That's not the idea though the idea is that the numbers are larger than just one digit, but they only show the first digit.
First tell me, why would you ever want to hide any of the digits at all? A player expects the battle system to display accurate information on screen. How would that help him or her?
First tell me, why would you ever want to hide any of the digits at all? A player expects the battle system to display accurate information on screen. How would that help him or her?

It's funny
It's funny
Probably only for you.
Spoiler: digits cut
Ruby:
class Window_Base < Window
  #--------------------------------------------------------------------------
  # * Draw HP
  #--------------------------------------------------------------------------
  def draw_actor_hp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::hp_a)
    h = actor.hp.to_s[0].to_i
    m = actor.mhp.to_s[0].to_i
    draw_current_and_max_values(x, y, width, h, m,
      hp_color(actor), normal_color)
  end
  #--------------------------------------------------------------------------
  # * Draw MP
  #--------------------------------------------------------------------------
  def draw_actor_mp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::mp_a)
    h = actor.mp.to_s[0].to_i
    m = actor.mmp.to_s[0].to_i
    draw_current_and_max_values(x, y, width, h, m,
      mp_color(actor), normal_color)
  end
  #--------------------------------------------------------------------------
  # * Draw TP
  #--------------------------------------------------------------------------
  def draw_actor_tp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::tp_a)
    change_color(tp_color(actor))
    h = actor.tp.to_s[0].to_i
    draw_text(x + width - 42, y, 42, line_height, h, 2)
  end
end
Probably only for you.
Spoiler: digits cut
Ruby:
class Window_Base < Window
  #--------------------------------------------------------------------------
  # * Draw HP
  #--------------------------------------------------------------------------
  def draw_actor_hp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::hp_a)
    h = actor.hp.to_s[0].to_i
    m = actor.mhp.to_s[0].to_i
    draw_current_and_max_values(x, y, width, h, m,
      hp_color(actor), normal_color)
  end
  #--------------------------------------------------------------------------
  # * Draw MP
  #--------------------------------------------------------------------------
  def draw_actor_mp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.mp_rate, mp_gauge_color1, mp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::mp_a)
    h = actor.mp.to_s[0].to_i
    m = actor.mmp.to_s[0].to_i
    draw_current_and_max_values(x, y, width, h, m,
      mp_color(actor), normal_color)
  end
  #--------------------------------------------------------------------------
  # * Draw TP
  #--------------------------------------------------------------------------
  def draw_actor_tp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::tp_a)
    change_color(tp_color(actor))
    h = actor.tp.to_s[0].to_i
    draw_text(x + width - 42, y, 42, line_height, h, 2)
  end
end

I mean I don't know what half of this could make someone think I'm maybe asking for this code to use it for a genuine, serious, intention or a well effort game. However in the end THANK YOU for this I couldn't thank you more for this script. I can't actually put it into action yet I just saw the response through a gmail notification on my phone BUT thanks a ton regardless.

Original thread: https://forums.rpgmakerweb.com/threads/truncated-hp-and-mp-values-in-battle-menu.173847/