BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ybz12003
Rhodochrosite | Level 12

Hello, 

I could like to get the total amount by multiplying 'Charge_Amount' and 'Charge_Quantity.'  The 'Charge_Amount' is DOLLAR21.2 and the 'Charge_Quantity' is Best12.  My code is shown below.  However, I didn't see any total_cost.  Please help.

Format Total_Cost DOLLAR30.2;

Total_Cost=Charge_Amount*Charge_Quantity;
1 ACCEPTED SOLUTION

Accepted Solutions
ybz12003
Rhodochrosite | Level 12
Never mind, I figure out.

View solution in original post

1 REPLY 1
ybz12003
Rhodochrosite | Level 12
Never mind, I figure out.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 235 views
  • 0 likes
  • 1 in conversation