Re: how to suppress zeroes after decimal and whole no. should remain same
From: Steve Kass (skass_at_drew.edu)
Date: 09/26/04
- Previous message: Steve Kass: "Re: format a numeric values with commas"
- In reply to: Anith Sen: "Re: how to suppress zeroes after decimal and whole no. should remain same"
- Next in thread: Steve Kass: "Re: how to suppress zeroes after decimal and whole no. should remain same"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 26 Sep 2004 01:08:49 -0400
Not quite. This will format 3000.000 as '3' .
SK
Anith Sen wrote:
>You can try the following expression:
>
>LEFT( c, LEN( c ) - PATINDEX( '%[1-9]%', REVERSE( c ) ) + 1 )
>
>: where c is your column
>
>
>
- Previous message: Steve Kass: "Re: format a numeric values with commas"
- In reply to: Anith Sen: "Re: how to suppress zeroes after decimal and whole no. should remain same"
- Next in thread: Steve Kass: "Re: how to suppress zeroes after decimal and whole no. should remain same"
- Messages sorted by: [ date ] [ thread ]