Clean up formattedValue implementation.
Clean up formattedValue implementation.

GerHobbelt/rivets,MishaMykhalyuk/rivets,jccazeaux/rivets,nopnop/rivets,jccazeaux/rivets,benderTheCrime/tiny-rivets,MishaMykhalyuk/rivets,GerHobbelt/rivets,mikeric/rivets,GerHobbelt/rivets,zongkelong/rivets,altmind/rivets,mikeric/rivets,nopnop/rivets,zongkelong/rivets,jccazeaux/rivets,QAPInt/rivets,re-clone/rivets,altmind/rivets,re-clone/rivets,QAPInt/rivets,altmind/rivets,nopnop/rivets,mikeric/rivets,zongkelong/rivets,QAPInt/rivets,moneyadviceservice/rivets,MishaMykhalyuk/rivets,kangax/rivets,re-clone/rivets,npmcomponent/mikeric-rivets