In some exercises I am doing, there are the following sentences:
Haec stola octo milibus nongentis nummorum Iaponensium constat.
Caro octigentis nummis Iaponensibus constat.
I don't understand why the units of money should be in the genitive in the first example, but the ablative in the second.