import { SourceBasedExpression } from '../Expression' ; import { OclExecutionContext } from '../../OclExecutionContext' ; oclExpression oclExpression export class RoundExpression extends SourceBasedExpression { evaluate ( visitor , localVariables ? ) { const result = this . getSource ( ) . evaluate ( visitor , localVariables ) ; return Math . round ( result ) ; } }