Hi,
I want to truncate a number in transformer of datatype
Decimal(18,9) to Decimal(10,6).
Thanks
Vinod
Truncating the number
Moderators: chulett, rschirm, roy
Truncating the decimal part is easy, either with a formatting option or a simple INT(In.Column*1000000)/1000000. But what is your rule for converting 18 digits to 10?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Re: Truncating the number
Try this conversionvinodhraj wrote:Hi,
I want to truncate a number in transformer of datatype
Decimal(18,9) to Decimal(10,6).
Thanks
Vinod
Left((Field(var1,".",1)),10):".":Left((Field(var1,".",2)),6)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: