Measurement of the absolute branching ratio of the K+→π+π-π+(γ) decay with the KLOE detector