Project

General

Profile

Actions

Feature #679

closed

Integer#to_s(:step=>3, :sep=>",") が欲しい

Added by xibbar (Takeyuki FUJIOKA) about 16 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:

Description

=begin
これはIntegerをStringに変換するときに
12345678.to_s(:step=>3,:sep=>",") #=> "1,2345,678"
12345678.to_s(:step=>4,:sep=>"'") #=> "1234'5678"
となるものです。
こちらはいかがでしょう?
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0