[RapidJson] Implements some number functions.