/dports/lang/expect/expect5.45.4/ |
H A D | exp_noevent.c | 127 static double subtotal = 0; local 130 subtotal += sec; 131 if (subtotal < 1) return TCL_OK; 132 seconds = subtotal; 133 subtotal -= seconds; 154 static subtotal = 0; 157 subtotal += usec; 158 if (subtotal < 1000000) return TCL_OK; 159 seconds = subtotal/1000000; 160 subtotal = subtotal%1000000;
|
H A D | exp_simple.c | 414 static double subtotal = 0; 417 subtotal += sec; 418 if (subtotal < 1) return TCL_OK; 419 seconds = subtotal; 420 subtotal -= seconds; 441 static subtotal = 0; 444 subtotal += usec; 445 if (subtotal < 1000000) return TCL_OK; 446 seconds = subtotal/1000000; 447 subtotal = subtotal%1000000;
|
/dports/finance/prestashop/prestashop/themes/classic/templates/checkout/_partials/ |
H A D | cart-detailed-totals.tpl | 29 {foreach from=$cart.subtotals item="subtotal"} 30 {if $subtotal && $subtotal.value|count_characters > 0 && $subtotal.type !== 'tax'} 31 <div class="cart-summary-line" id="cart-subtotal-{$subtotal.type}"> 32 <span class="label{if 'products' === $subtotal.type} js-subtotal{/if}"> 33 {if 'products' == $subtotal.type} 36 {$subtotal.label} 40 {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} 42 {if $subtotal.type === 'shipping'} 43 …<div><small class="value">{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}</small></di…
|
H A D | cart-summary-subtotals.tpl | 28 {foreach from=$cart.subtotals item="subtotal"} 29 {if $subtotal && $subtotal.value|count_characters > 0 && $subtotal.type !== 'tax'} 30 <div class="cart-summary-line cart-summary-subtotals" id="cart-subtotal-{$subtotal.type}"> 33 {$subtotal.label} 37 {if 'discount' == $subtotal.type}- {/if}{$subtotal.value}
|
/dports/www/interchange/interchange-5.6.3/code/SystemTag/ |
H A D | subtotal.coretag | 8 # $Id: subtotal.coretag,v 1.7 2007-03-30 23:40:49 pajamian Exp $ 10 UserTag subtotal Order name noformat 11 UserTag subtotal attrAlias cart name 12 UserTag subtotal attrAlias space discount_space 13 UserTag subtotal addAttr 14 UserTag subtotal PosNumber 2 15 UserTag subtotal Version $Revision: 1.7 $ 16 UserTag subtotal Routine <<EOR 19 return currency( subtotal($cart, $opt->{discount_space}),
|
/dports/finance/ledgersmb12/ledgersmb/LedgerSMB/ |
H A D | Tax.pm | 86 my ( $taxes, $form, $subtotal, $extract ) = @_; 101 $passtotal += $tax->apply_tax( $form, $subtotal + $total ) 104 $tax->extract_tax( $form, $subtotal - $total, $passrate ) 113 my ( $taxes, $form, $subtotal ) = @_; 114 return $subtotal + calculate_taxes( $taxes, $form, $subtotal, 0 ); 118 my ( $taxes, $form, $subtotal ) = @_; 119 return $subtotal - calculate_taxes( $taxes, $form, $subtotal, 1 );
|
/dports/finance/ledgersmb12/ledgersmb/LedgerSMB/Taxes/ |
H A D | Simple.pm | 43 my ( $self, $form, $subtotal, $extract, $passrate ) = @_; 45 my $tax = $subtotal * $rate / ( Math::BigFloat->bone() + $passrate ); 46 $tax = $subtotal * $rate if not $extract; 51 my ( $self, $form, $subtotal ) = @_; 52 my $tax = $self->calculate_tax( $form, $subtotal, 0 ); 58 my ( $self, $form, $subtotal, $passrate ) = @_; 59 my $tax = $self->calculate_tax( $form, $subtotal, 1, $passrate );
|
/dports/www/p5-Interchange6/Interchange6-0.120/t/ |
H A D | costs.t | 26 cmp_ok( $cart->subtotal, '==', 50, "subtotal is 50" ); 38 cmp_ok( $cart->subtotal, '==', 48, "subtotal is 48" ); 53 cmp_ok( $cart->subtotal, '==', 48, "subtotal is 48" ); 70 cmp_ok( $cart->subtotal, '==', 44, "subtotal is 44" ); 85 cmp_ok( $cart->subtotal, '==', 44, "subtotal is 44" ); 94 cmp_ok( $cart->subtotal, '==', 26, "subtotal is 26" ); 104 cmp_ok( $cart->subtotal, '==', 26, "subtotal is 26" ); 111 cmp_ok( $cart->subtotal, '==', 44, "subtotal is 44" ); 121 cmp_ok( $cart->subtotal, '==', 44, "subtotal is 44" );
|
/dports/www/p5-Interchange6/Interchange6-0.120/t/unit/ |
H A D | costs_role.t | 16 has subtotal => ( is => 'ro' ); 21 lives_ok { $obj = CostsConsumer->new( subtotal => 10 ) } 24 cmp_ok( $obj->subtotal, '==', 10, "subtotal is 10" ); 27 lives_ok { $obj = CostsConsumer->new( subtotal => 20 ) } 30 cmp_ok( $obj->subtotal, '==', 20, "subtotal is 20" ); 51 cmp_ok( $obj->subtotal, '==', 20, "subtotal is 20" ); 61 cmp_ok( $obj->subtotal, '==', 20, "subtotal is 20" ); 86 cmp_ok( $obj->subtotal, '==', 20, "subtotal is 20" ); 99 cmp_ok( $obj->subtotal, '==', 20, "subtotal is 20" );
|
H A D | cart.t | 28 dies_ok { $cart->subtotal(1) } "subtotal is immutable"; 107 cmp_ok( $cart->subtotal, '==', 10, "subtotal is 10" ); 130 cmp_ok( $cart->subtotal, '==', 50, "subtotal is 50" ); 223 cmp_ok( $cart->subtotal, '==', 0, "subtotal is 0" ); 298 cmp_ok( $cart->subtotal, '==', 10, "subtotal is 10" ); 320 cmp_ok( $cart->subtotal, '==', 30, "subtotal is 30" ); 337 cmp_ok( $cart->subtotal, '==', 70, "subtotal is 70" ); 583 cmp_ok( $cart->subtotal, '==', 0, "subtotal is 0" ); 597 cmp_ok( $cart->subtotal, '==', 0, "subtotal is 0" ); 610 cmp_ok( $cart->subtotal, '==', 5, "subtotal is 5" ); [all …]
|
/dports/sysutils/goawk/goawk-1.9.2/testdata/ |
H A D | p.52 | 5 printf "\t%-10s\t %6d\n", "total", subtotal 6 subtotal = 0 13 subtotal += $3 15 END { printf "\t%-10s\t %6d\n", "total", subtotal
|
/dports/www/p5-Interchange6/Interchange6-0.120/lib/Interchange6/Role/ |
H A D | Costs.pm | 59 my $subtotal = $self->subtotal; 65 $costs[$i]->set_current_amount( $subtotal * $costs[$i]->amount ); 72 $subtotal += $costs[$i]->current_amount; 79 return sprintf( "%.2f", $subtotal + $sum );
|
/dports/finance/frontaccounting/frontaccounting/reporting/ |
H A D | rep106.php | 106 $subtotal = $total = $subprov = $provtotal = 0; 120 $rep->AmountCol(5, 6, $subtotal, $dec); 133 $total += $subtotal; 135 $subtotal = 0; 155 $subtotal += $amt; 163 $rep->AmountCol(5, 6, $subtotal, $dec); 167 $total += $subtotal;
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/offapi/com/sun/star/sheet/ |
H A D | XSubTotalCalculatable.idl | 30 /** contains methods to handle a subtotal descriptor. 32 <p>The subtotal descriptor provides properties to set up the subtotal 41 /** creates a subtotal descriptor. 55 the subtotal descriptor with the settings used for the subtotal 59 if set to `TRUE`, replaces previous subtotal results.
|
H A D | SubTotalField.idl | 29 /** represents a single field in a subtotal descriptor. 31 <p>A subtotal field contains all columns for which subtotal values 32 will be calculated and the column used to create subtotal groups. 39 /** provides access to the settings of the subtotal field.
|
H A D | XSubTotalDescriptor.idl | 30 /** provides access to the collection of subtotal fields in a subtotal 38 /** adds a subtotal field definition to the descriptor. 41 a sequence of all columns used to calculate subtotal values. 52 /** removes all subtotal field definitions from the descriptor.
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/offapi/com/sun/star/sheet/ |
H A D | XSubTotalCalculatable.idl | 30 /** contains methods to handle a subtotal descriptor. 32 <p>The subtotal descriptor provides properties to set up the subtotal 41 /** creates a subtotal descriptor. 55 the subtotal descriptor with the settings used for the subtotal 59 if set to `TRUE`, replaces previous subtotal results.
|
H A D | SubTotalField.idl | 29 /** represents a single field in a subtotal descriptor. 31 <p>A subtotal field contains all columns for which subtotal values 32 will be calculated and the column used to create subtotal groups. 39 /** provides access to the settings of the subtotal field.
|
H A D | XSubTotalDescriptor.idl | 30 /** provides access to the collection of subtotal fields in a subtotal 38 /** adds a subtotal field definition to the descriptor. 41 a sequence of all columns used to calculate subtotal values. 52 /** removes all subtotal field definitions from the descriptor.
|
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/ |
H A D | Subtotal.php | 90 $subtotal = (int) Helpers::validateNumericNullBool($functionType); 96 if ($subtotal > 100) { 98 $subtotal -= 100; 102 if (array_key_exists($subtotal, self::CALL_FUNCTIONS)) { 104 $call = self::CALL_FUNCTIONS[$subtotal];
|
/dports/biology/lamarc/lamarc-2.1.8/src/datalike/ |
H A D | dlmodel.cpp | 1176 subtotal = 0.0; in ComputeSubtreeDL() 1199 if (!subtotal) in ComputeSubtreeDL() 1233 double subtotal; in ComputeCatDL() local 1241 subtotal = 0.0; in ComputeCatDL() 1257 subtotal = 0.0; in ComputeCatDL() 1858 if (!subtotal) in ComputeSubtreeDL() 1890 double subtotal; in ComputeCatDL() local 1914 subtotal = 0.0; in ComputeCatDL() 2035 double subtotal; in ComputeCatDL() local 2059 subtotal = 0.0; in ComputeCatDL() [all …]
|
/dports/devel/tokei/tokei-12.1.2/src/ |
H A D | cli_utils.rs | 286 let mut subtotal = tokei::Report::new("(Total)".into()); in print_language_total() localVariable 288 subtotal.stats.code += summary.code; in print_language_total() 289 subtotal.stats.comments += summary.comments; in print_language_total() 290 subtotal.stats.blanks += summary.blanks; in print_language_total() 291 self.print_report_with_name(&subtotal)?; in print_language_total() 397 let mut subtotal = tokei::Report::new("|- (Total)".into()); in print_report_total() localVariable 398 subtotal.stats.code += report.stats.code; in print_report_total() 399 subtotal.stats.comments += report.stats.comments; in print_report_total() 400 subtotal.stats.blanks += report.stats.blanks; in print_report_total() 404 subtotal.stats += stats.summarise(); in print_report_total()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/tokei-12.1.2/src/ |
H A D | cli_utils.rs | 286 let mut subtotal = tokei::Report::new("(Total)".into()); in print_language_total() localVariable 288 subtotal.stats.code += summary.code; in print_language_total() 289 subtotal.stats.comments += summary.comments; in print_language_total() 290 subtotal.stats.blanks += summary.blanks; in print_language_total() 291 self.print_report_with_name(&subtotal)?; in print_language_total() 397 let mut subtotal = tokei::Report::new("|- (Total)".into()); in print_report_total() localVariable 398 subtotal.stats.code += report.stats.code; in print_report_total() 399 subtotal.stats.comments += report.stats.comments; in print_report_total() 400 subtotal.stats.blanks += report.stats.blanks; in print_report_total() 404 subtotal.stats += stats.summarise(); in print_report_total()
|
/dports/devel/gdcm/gdcm-3.0.10/Wrapping/Python/ |
H A D | TestWrap.py | 202 subtotal = 0 213 subtotal += 1 214 return subtotal
|
/dports/japanese/bugzilla50/ja-bugzilla50-5.0.2/default/bug/ |
H A D | summarize-time.html.tmpl | 101 [% col = 0 subtotal = 0%] 110 [% subtotal = subtotal + bugdata.total_time %] 114 <td class="subtotal">[% subtotal FILTER format("%.2f") %]</td> 116 [% global.total = global.total + subtotal %] 141 [% subtotal = 0.00 cid = 0 %] 148 [% subtotal = subtotal + work_time %] 163 <td class="subtotal">[% subtotal FILTER format("%.2f") %]</td> 165 [% global.total = global.total + subtotal %]
|