File: C:/Ruby27-x64/share/ri/2.7.0/system/BigDecimal/to_s-i.ri
U:RDoc::AnyMethod[iI" to_s:ETI"BigDecimal#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"$Converts the value to a string.;To:RDoc::Markup::BlankLine o;
; [I".The default format looks like 0.xxxxEnn.;T@o;
; [I"PThe optional parameter s consists of either an integer; or an optional '+' ;TI"Por ' ', followed by an optional number, followed by an optional 'E' or 'F'.;T@o;
; [I"LIf there is a '+' at the start of s, positive values are returned with ;TI"a leading '+'.;T@o;
; [I"LA space at the start of s returns positive values with a leading space.;T@o;
; [I"OIf s contains a number, a space is inserted after each group of that many ;TI"fractional digits.;T@o;
; [I"EIf s ends with an 'E', engineering notation (0.xxxxEnn) is used.;T@o;
; [I"IIf s ends with an 'F', conventional floating point notation is used.;T@o;
; [I"Examples:;T@o:RDoc::Markup::Verbatim; [
I"5BigDecimal('-123.45678901234567890').to_s('5F')
;TI"& #=> '-123.45678 90123 45678 9'
;TI"
;TI"5BigDecimal('123.45678901234567890').to_s('+8F')
;TI"$ #=> '+123.45678901 23456789'
;TI"
;TI"4BigDecimal('123.45678901234567890').to_s(' F')
;TI"" #=> ' 123.4567890123456789';T:@format0:
@fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"
to_s(s)
;T0[ I"(p1 = v1);T@4FI"BigDecimal;TcRDoc::NormalClass00