Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Variable declaration to take decimal value.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
preethiuday

New User


Joined: 30 Mar 2007
Posts: 3
Location: proddatur

PostPosted: Mon Apr 16, 2007 4:00 pm    Post subject: Variable declaration to take decimal value.
Reply with quote

Hi all,

I am using a Variable with data type as Fixed dec(15,2).In the output it will take both negative values and positive values.But when it comes to deimal valus it is rounding off the decimal value and giving a non-decimal value.I need the decimal value also.I tried initialising it Zero also.But no use.

Please help
Back to top
View user's profile Send private message

cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Tue Apr 17, 2007 3:11 pm    Post subject: Re: Variable declaration to take decimal value.
Reply with quote

Hi Preethi,
Can you just mention what input data you have given and the output you are getting ??


Regards,
Raj
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us