In my toString I'm trying to print the total cost as $9.30. It is printing as $9.3 - without the 0 on the end.
This looks like:
public String toString()
{
return "$"+total;
}
Type: Posts; User: caiz1
In my toString I'm trying to print the total cost as $9.30. It is printing as $9.3 - without the 0 on the end.
This looks like:
public String toString()
{
return "$"+total;
}