You are accessing the Members Only area for DynDeveloper.com using guest access. The member experience is slightly different
AbrahamA
4Penny.net
Points: 7725

6/6/2017 8:22:20 AM

FORMAT - Format a number as a percent

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

This is just one line of code, but it's a quick example of how to format a number as a percentage in SQL. 

I'm collecting FORMAT examples on the SQL menu, you might click the 'SQL General' link above and see...

4Penny.net
Version: All
Section: SQL Scripts

 

SELECT FORMAT(1.00,'##0.0 %'), FORMAT(.25,'###.0%')

 

Please leave a comment

Add a Comment



Not Subscribed. You will not receive emails on article changes or comment additions

Comments

body header
No records to display.
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3