how do you write in word form 204,500,040.

Two hundred (and) four million, five hundred thousand and forty.

You could leave out the "and" and the comma.