I may be wrong but I seem remember reading that silver dollars do this when they are spooked. eg during a water change or when geting moved?
best get proper advice though.
well yesterday i was here and he was really well then when i came home to day he was folating with his belly out the water but he did swim for little while but then just floated again
ive had him for about a year and half and he has always been fine
Swim bladder maybe? I've never kept SDs so I don't really know much about them. My gourami had something like that before though. She got really sick and couldn't swim well at all. She would float straight up to the top and just lay there. The next day she died. I really hope your SD is okay.
as to many dried foods can cause swim bladder and dropsy, also over feeding can cause these deseases, feed fish some veg it keeps them going to the toilet.