I hope you guys understand this question. Sometimes I see a sentence like this:
"A hundred times five thousand is of course more than enough."
And sometimes I see them like this (with two commas):
"A hundred times five thousand is, of course, more than enough."
So which should I rather use in a high school matriculation exam?

And btw, this forum should really be supported somehow as it is VERY useful!