<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <blockquote type="cite">
      <pre>I am trying to use the dynamic text option  [%item_variables('Map
1')['map_scale']%] in my print layout but I get a scale of 100000.000000007
in my title block. How can I apply a format number to get it to display a
whole number like 100000?</pre>
    </blockquote>
    <br>
    I don't know how to do it using dynamic text, but you can get what
    you want using this expression<br>
    <blockquote>[% round(map_get( item_variables('Map 1'),
      'map_scale'),0)%]</blockquote>
  </body>
</html>