Hi, Emmykate,

Congtulations, and welcome. You've had a stressful time of it, by the sounds of it. Your paed is right - forumula has slightly less calories than breastmilk, and formula fed babies are more likely to get ill, and usually sick babies don't gain weight very well.
As Jasp suggested, the secret will probably be in the number of feeds. Because of the rough start she had, sounds like your little one is not demanding feeds. Normally, a baby would demand 8-12 feeds in 24 hours. It's not really normal for a baby that age to sleep so long at night. their tummies are very small - about the size of her clenched fist - so need filling more often. At this age a baby breastfed baby would be taking about 700mls of milk.
I would suggest waking her every 3 hours, including during the night. This will only be for a short time. Pretty soon, as she gets more energy, she will be up demanding a feed, and you'll wish for those long sleepy nights- but you will have confidence that she is growing.