Search notes:

SAS format: percent

data _null_;

  val = 0.1813;
                      /* 1234567890*/
  put val percent8.2; /*  18.13%   */
  put val percent7.2; /*  18.1%    */
  put val percent6.2; /*   18%     */
  put val percent5.2; /*  18%      */
  put val percent4.2; /*  *%       */

run;
Github repository about-SAS, path: /programming/formats-informats/percent.sas

See also

informats and formats

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1745986595, '13.59.14.52', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/formats-informats/percent(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78