/******************************************************************************
 * Copyright (c) 2000-2021 Ericsson Telecom AB
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
 *
 * Contributors:
 *   Szabo, Bence Janos
 *
 ******************************************************************************/
module fractionDigits_SE {	//^In TTCN-3 module `fractionDigits_SE'://

type float MyFloat //^In type definition// //^error: The fractionDigits encoding instruction shall be used with XSD\.Decimal types\.//
with {
  variant "fractionDigits 2";
};


type float MyFloat2
with {
  variant "fractionDigits 2";
  variant "XSD:decimal"
};

type float MyFloat3; 

type record MyRec { //^In type definition//
  MyFloat3 myfloat //^In record field// //^error: The fractionDigits encoding instruction shall be used with XSD\.Decimal types//
} 
with {
  variant (myfloat) "fractionDigits 2";
  variant (myfloat) "attribute";
};


}
with {
  encode "XML";
}
