Category talk:Wren-math: Difference between revisions

Content added Content deleted
m (→‎Source code: Descriptions for Nums.fromStrings and Nums.toStrings methods were the wrong way around!)
m (→‎Source code: Removed some trailing whitespace introduced by last edit.)
Line 590: Line 590:
static fromStrings(a) { a.map { |s| Num.fromString(s) }.toList }
static fromStrings(a) { a.map { |s| Num.fromString(s) }.toList }


// Converts a numeric list to a corresponding string list.
// Converts a numeric list to a corresponding string list.
static toStrings(a) { a.map { |n| n.toString }.toList }
static toStrings(a) { a.map { |n| n.toString }.toList }
}
}