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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 215 views
  • 0 likes
  • 1 in conversation