Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for String_concatenation (0.08 seconds)

  1. doc/go_spec.html

    r  = x*y + float64(z)
    
    // FMA disallowed for computing r, because it would omit rounding of x*y:
    r  = float64(x*y) + z
    r  = z; r += float64(x*y)
    t  = float64(x*y); r = t + z
    </pre>
    
    <h4 id="String_concatenation">String concatenation</h4>
    
    <p>
    Strings can be concatenated using the <code>+</code> operator
    or the <code>+=</code> assignment operator:
    </p>
    
    <pre>
    s := "hi" + string(c)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top