Serialize decimal using "R" format