Added a numeric specific local-storage setter, which performs a cast