I am having trouble with how my program displays the items with a $ sign. I do not want a dollar sign and I ma not sure how it got there as I did not put one in. Is there a way to get rid of the $ sign without posting my code?
Welcome to the inventory program
Enter the item number:
Enter the product name:
Enter the product price: 1.59
Enter the total products in stock: 12
Item number is 1234
The product name is Sauce
The number of products in stock are: $12.00
The price of each product is: $1.59
The inventory value is: $19.08
BUILD SUCCESSFUL (total time: 14 seconds)
I do not want the $ sign where the products in stock are. And if I declare productInStock as a string how do I get the totalInventoryValue which = productInStock * productPrice. I did try it and it gave the error can't go from string to double.