Is the use of come up to correct in this context?
We bought tons of stuff at X place. The whole bill came up to X dollars.
I often see people (non natives) use come out in this situation:
The whole set up came out to be Y dollars.
Which of these two or both is correct idiomatic usage in this context?